X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=inline;f=src%2Fobjmesh.cc;h=ab741f43dbfe464ca6e094848bca0dd0a3a392c6;hb=ca5d732eb2b76da1e01428193effeb205ae951e9;hp=3076e6740c5ddd65fbb376eb77f0ab4cd1d496c7;hpb=2d2c46ef8cf99be431553993fe9d4a8e12281c7d;p=laserbrain_demo diff --git a/src/objmesh.cc b/src/objmesh.cc index 3076e67..ab741f4 100644 --- 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(); +}