36 _volume_pcollector.flush_level();
37 _test_pcollector.flush_level();
45 _vertices.push_back(vert);
48 INLINE
unsigned int CollisionFloorMesh::
49 get_num_vertices()
const {
50 return _vertices.size();
53 INLINE
const LPoint3 &CollisionFloorMesh::
54 get_vertex(
unsigned int index)
const {
55 return _vertices[index];
58 INLINE
unsigned int CollisionFloorMesh::
59 get_num_triangles()
const {
60 return _triangles.size();
63 INLINE LPoint3i CollisionFloorMesh::
64 get_triangle(
unsigned int index)
const {
65 CollisionFloorMesh::TriangleIndices tri = _triangles[index];
66 return LPoint3i(tri.p1, tri.p2, tri.p3);
The abstract base class for all things that can collide with other things in the world,...
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...