This object represents a solid made entirely of triangles, which will only be tested again z axis aligned rays. More...
Public Member Functions | |
CollisionFloorMesh () | |
This is only for the convenience of CollisionPolygon. | |
addTriangle (unsigned int pointA, unsigned int pointB, unsigned int pointC) | |
store a triangle for processing | |
addVertex (Point3 const vert) | |
store away a vertex to index against | |
unsigned int | getNumTriangles () |
unsigned int | getNumVertices () |
Point3D const | getTriangle (unsigned int index) |
list | getTriangles () |
Point3 const | getVertex (unsigned int index) |
list | getVertices () |
Static Public Member Functions | |
static TypeHandle | getClassType () |
This object represents a solid made entirely of triangles, which will only be tested again z axis aligned rays.
This is only for the convenience of CollisionPolygon.
Normally, you should not attempt to create an uninitialized CollisionPlane.
addTriangle | ( | unsigned int | pointA, |
unsigned int | pointB, | ||
unsigned int | pointC | ||
) |
store a triangle for processing
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from CollisionSolid.
unsigned int getNumTriangles | ( | ) |
unsigned int getNumVertices | ( | ) |
Point3D const getTriangle | ( | unsigned int | index | ) |
list getTriangles | ( | ) |
list getVertices | ( | ) |