class csFrame : public csBase A frame for 3D sprite animation
| | AddVertex (int num_vertices) |
| | ComputeBoundingBox (int num_vertices) Compute the object space bounding box for this frame |
| | ComputeNormals (csTriangleMesh* mesh, csVector3* object_verts, int num_vertices) Compute all normals in this frame given the mesh which connects the vertices in the frame |
| | csFrame (int max_vertices) |
| | GetBoundingBox (csVector3& bbox_min, csVector3& bbox_max) Get the bounding box in object space |
| | GetMaxVertices () |
| | GetName () |
| | GetNormal (int i) |
| | GetTexel (int i) |
| | GetVertex (int i) |
| | GetVertices () |
| | HasNormals () Return true if this frame has calculated normals. |
| | RemapVertices (int* mapping, int num_vertices) Reorder vertices in this frame according to a mapping |
| | SetName (char * n) |
| | SetTexel (int i, float u, float v) |
| | SetVertex (int i, float x, float y, float z) |
| | SetVertex (int i, const csVector3& v) |
| | ~csFrame () |
| | box_min Bounding box in object space for this frame. |
A frame for 3D sprite animation
csFrame(int max_vertices)
virtual ~csFrame()
void SetVertex(int i, float x, float y, float z)
void SetVertex(int i, const csVector3& v)
void SetTexel(int i, float u, float v)
void SetName(char * n)
char* GetName()
csVector3& GetVertex(int i)
csVector3* GetVertices()
csVector2& GetTexel(int i)
csVector3& GetNormal(int i)
bool HasNormals()
void AddVertex(int num_vertices)
int GetMaxVertices()
void RemapVertices(int* mapping, int num_vertices)
void ComputeNormals(csTriangleMesh* mesh, csVector3* object_verts, int num_vertices)
void ComputeBoundingBox(int num_vertices)
void GetBoundingBox(csVector3& bbox_min, csVector3& bbox_max)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de