PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
draw_types.h File Reference
#include <math3d.h>
+ Include dependency graph for draw_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  __attribute__
 
struct  vertex_t
 
struct  __attribute__.aligned
 
struct  __attribute__.__unnamed50__
 
struct  __attribute__.__unnamed52__
 
struct  __attribute__.__unnamed54__
 
struct  __attribute__.__unnamed56__
 
struct  __attribute__.__unnamed58__
 
struct  __attribute__.__unnamed60__
 

Macros

#define ftoi4(F)   ((int)(((float)F)*16.0f))
 

Typedefs

typedef union __attribute__ aligned
 

Functions

 aligned (8))) xyz_t
 
 aligned (16))) texel_f_t
 

Detailed Description

Draw library types

Definition in file draw_types.h.


Data Structure Documentation

◆ vertex_t

struct vertex_t

Definition at line 51 of file draw_types.h.

Data Fields
float x
float y
unsigned int z

◆ __attribute__.aligned

struct __attribute__.aligned

Definition at line 20 of file draw_types.h.

Data Fields
u16 x
u16 y
u32 z

◆ __attribute__.__unnamed50__

struct __attribute__.__unnamed50__

Definition at line 29 of file draw_types.h.

Data Fields
float s
float t

◆ __attribute__.__unnamed52__

struct __attribute__.__unnamed52__

Definition at line 33 of file draw_types.h.

Data Fields
float u
float v

◆ __attribute__.__unnamed54__

struct __attribute__.__unnamed54__

Definition at line 41 of file draw_types.h.

Data Fields
u8 r
u8 g
u8 b
u8 a
float q

◆ __attribute__.__unnamed56__

struct __attribute__.__unnamed56__

Definition at line 59 of file draw_types.h.

Data Fields
float s
float t
float r
float q

◆ __attribute__.__unnamed58__

struct __attribute__.__unnamed58__

Definition at line 69 of file draw_types.h.

Data Fields
float r
float g
float b
float a

◆ __attribute__.__unnamed60__

struct __attribute__.__unnamed60__

Definition at line 79 of file draw_types.h.

Data Fields
float x
float y
float z
float w

Macro Definition Documentation

◆ ftoi4

#define ftoi4 (   F)    ((int)(((float)F)*16.0f))

Definition at line 15 of file draw_types.h.