From b7dc0938eb7d59f928bbcf2a3a4877a6f60940e5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 8 Nov 2010 14:34:44 +0000 Subject: moved clear() from game::Game~ to core::GameServer~ (solves FIXME), unified bounding box code into math::BoundingBox3f class --- src/model/asefile.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/model/asefile.h') diff --git a/src/model/asefile.h b/src/model/asefile.h index 9e3fea6..c16bf5c 100644 --- a/src/model/asefile.h +++ b/src/model/asefile.h @@ -141,6 +141,10 @@ private: inline FragmentGroup *fragmentgroup() { return ase_fragmentgroup; } + + inline const math::BoundingBox3f & box() const { + return ase_box; + } std::string asefile_name; @@ -154,9 +158,7 @@ private: MaterialList ase_materials; - math::Vector3f ase_maxbbox; - - math::Vector3f ase_minbbox; + math::BoundingBox3f ase_box; FragmentGroup *ase_fragmentgroup; -- cgit v1.2.3