projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleaned up and fleshed out geom.h/geom.cc and preparing to add bounding
[laserbrain_demo]
/
src
/
objmesh.cc
diff --git
a/src/objmesh.cc
b/src/objmesh.cc
index
3076e67
..
ab741f4
100644
(file)
--- a/
src/objmesh.cc
+++ b/
src/objmesh.cc
@@
-31,3
+31,8
@@
void ObjMesh::draw() const
glPopMatrix();
}
}
+
+const AABox &ObjMesh::get_aabox() const
+{
+ return mesh ? mesh->get_aabbox() : Object::get_aabox();
+}