36 _volume_pcollector.flush_level();
37 _test_pcollector.flush_level();
45 _vertices.push_back(vert);
48INLINE
unsigned int CollisionFloorMesh::
49get_num_vertices()
const {
50 return _vertices.size();
53INLINE
const LPoint3 &CollisionFloorMesh::
54get_vertex(
unsigned int index)
const {
55 return _vertices[index];
58INLINE
unsigned int CollisionFloorMesh::
59get_num_triangles()
const {
60 return _triangles.size();
63INLINE LPoint3i CollisionFloorMesh::
64get_triangle(
unsigned int index)
const {
65 CollisionFloorMesh::TriangleIndices tri = _triangles[index];
66 return LPoint3i(tri.p1, tri.p2, tri.p3);
This object represents a solid made entirely of triangles, which will only be tested again z axis ali...
static void flush_level()
Flushes the PStatCollectors used during traversal.
void add_vertex(const LPoint3 &vert)
store away a vertex to index against
CollisionFloorMesh()
This is only for the convenience of CollisionPolygon.
The abstract base class for all things that can collide with other things in the world,...