User Tools

Site Tools


stunt_racer_64:geometry_data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stunt_racer_64:geometry_data [2020/01/27 03:13]
shygoo created
stunt_racer_64:geometry_data [2020/01/29 16:56] (current)
shygoo
Line 69: Line 69:
 </​code>​ </​code>​
  
-This structure may represent either a quadrangle or a triangle. If a triangle is to be represented,​ ''​vertexIndex3''​ and ''​faceIndex3''​ are set to -1.+This structure may represent either a quadrangle or a triangle. If a triangle is to be represented,​ ''​vertexIndex3''​ and ''​texCoordIndex3''​ are set to -1.
  
 The ''​vertexIndex'',​ ''​texCoordIndex'',​ and ''​colorIndex''​ fields are indices of structures in the VERTICES, TEXTURE COORDINATE, and VERTEX COLORS sections. The ''​vertexIndex'',​ ''​texCoordIndex'',​ and ''​colorIndex''​ fields are indices of structures in the VERTICES, TEXTURE COORDINATE, and VERTEX COLORS sections.
Line 81: Line 81:
  
 <code C> <code C>
-struct TexCoord+struct TexCoord ​// 0x04 bytes
 { {
-    /*s16*/ s16 s; // S-coordinate¬†+    /*0x00*/ s16 s; // S-coordinate¬†
-    /*s16*/ s16 t; // T-coordinate+    /*0x02*/ s16 t; // T-coordinate
 }; };
 </​code>​ </​code>​
stunt_racer_64/geometry_data.txt · Last modified: 2020/01/29 16:56 by shygoo