45 _volume_pcollector.flush_level();
46 _test_pcollector.flush_level();
56 _vertices.push_back(vert);
59 INLINE
unsigned int CollisionFloorMesh::
60 get_num_vertices()
const {
61 return _vertices.size();
64 INLINE
const LPoint3 &CollisionFloorMesh::
65 get_vertex(
unsigned int index)
const {
66 return _vertices[index];
69 INLINE
unsigned int CollisionFloorMesh::
70 get_num_triangles()
const {
71 return _triangles.size();
75 get_triangle(
unsigned int index)
const {
77 return LPoint3i(tri.p1, tri.p2, tri.p3);
The abstract base class for all things that can collide with other things in the world, and all the things they can collide with (except geometry).
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
CollisionFloorMesh()
This is only for the convenience of CollisionPolygon.
static void flush_level()
Flushes the PStatCollectors used during traversal.
void add_vertex(const LPoint3 &vert)
store away a vertex to index against
This object represents a solid made entirely of triangles, which will only be tested again z axis ali...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...