class CollisionFloorMesh

Bases: CollisionSolid

This object represents a solid made entirely of triangles, which will only be tested again z axis aligned rays

Inheritance diagram

Inheritance diagram of CollisionFloorMesh


This is only for the convenience of CollisionPolygon. Normally, you should not attempt to create an uninitialized CollisionPlane.

void add_triangle(unsigned int pointA, unsigned int pointB, unsigned int pointC)

store a triangle for processing

void add_vertex(LPoint3 const &vert)

store away a vertex to index against

static TypeHandle get_class_type(void)
unsigned int get_num_triangles(void) const
unsigned int get_num_vertices(void) const
LPoint3i get_triangle(unsigned int index) const
LPoint3 const &get_vertex(unsigned int index) const