CrystalSpace

Public API Reference

csTriangleMeshPointer Class Reference
[Geometry utilities]

A convenience triangle mesh which takes vertex and triangle pointers from another source. More...

#include <csgeom/trimesh.h>

Inherits scfImplementation1< csTriangleMeshPointer, iTriangleMesh >.

List of all members.

Public Member Functions

 csTriangleMeshPointer (csVector3 *vertices, size_t num_vertices, csTriangle *triangles, size_t num_triangles)
 Construct a triangle mesh.

Detailed Description

A convenience triangle mesh which takes vertex and triangle pointers from another source.

Take care of object life time when using this class; i.e. make sure the real owner of the vertex and triangle data is not destroyed at a time when this class is still in use.

Definition at line 236 of file trimesh.h.


Constructor & Destructor Documentation

csTriangleMeshPointer::csTriangleMeshPointer ( csVector3 vertices,
size_t  num_vertices,
csTriangle triangles,
size_t  num_triangles 
) [inline]

Construct a triangle mesh.

Definition at line 251 of file trimesh.h.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1