Changes
Jump to navigation
Jump to search
typedef struct vertice {
typedef struct triangle { uint16 vertex_indexes[3];// vertex_indexes[0] &= 0x7FFF0xFFF, other bits are unknown
typedef struct quad { uint16 vertex_indexes[4];// vertex_indexes[0] &= 0x7FFF0xFFF, other bits are unknown
→Section 2: Model geometry
==== Useful structures ====
sint16 x, y, z;
} vertice;
(sizeof = 6)
uint8 texCoords1[2];
uint8 texCoords2[2];
uint8 texCoords3[2];
uint16 u; // textureID_related2
} triangle;
(sizeof = 16)
uint8 texCoords1[2];
uint16 textureID_related;
uint8 texCoords3[2];
uint8 texCoords4[2];
} quad;
(sizeof = 20)