cleaned up and fleshed out geom.h/geom.cc and preparing to add bounding
[laserbrain_demo] / src / objmesh.cc
index 3076e67..ab741f4 100644 (file)
@@ -31,3 +31,8 @@ void ObjMesh::draw() const
                glPopMatrix();
        }
 }
+
+const AABox &ObjMesh::get_aabox() const
+{
+       return mesh ? mesh->get_aabbox() : Object::get_aabox();
+}