Shapes 3D
3.0
|
Public Member Functions | |
MD2_Vertex (float s, float t, int idx) | |
String | toString () |
Public Attributes | |
float | s |
float | t |
int | idx |
For each point in the model we store the texture coordinates and an index pointer to an array of PVector that hold the XYZ coordinates.
Texture coordinates are normalized i.e. in the range 0.0 to 1.0 inclusive.
shapes3d.utils.MD2_Vertex.MD2_Vertex | ( | float | s, |
float | t, | ||
int | idx | ||
) |
Parameter ctor
s | horizontal texture coordinate |
t | vertical texture coordinate |
idx | the index to the vertex array |