Shapes 3D  3.0
 All Classes Functions Variables Pages
shapes3d.utils.MD2_Vertex Class Reference

Public Member Functions

 MD2_Vertex (float s, float t, int idx)
 
String toString ()
 

Public Attributes

float s
 
float t
 
int idx
 

Detailed Description

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.

Author
Peter Lager

Constructor & Destructor Documentation

shapes3d.utils.MD2_Vertex.MD2_Vertex ( float  s,
float  t,
int  idx 
)

Parameter ctor

Parameters
shorizontal texture coordinate
tvertical texture coordinate
idxthe index to the vertex array

The documentation for this class was generated from the following file: