summaryrefslogtreecommitdiffstats
path: root/MatchBloxEngine/MatchBloxEngine/C_3DObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'MatchBloxEngine/MatchBloxEngine/C_3DObject.h')
-rw-r--r--MatchBloxEngine/MatchBloxEngine/C_3DObject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/MatchBloxEngine/MatchBloxEngine/C_3DObject.h b/MatchBloxEngine/MatchBloxEngine/C_3DObject.h
index 4027596..55ae123 100644
--- a/MatchBloxEngine/MatchBloxEngine/C_3DObject.h
+++ b/MatchBloxEngine/MatchBloxEngine/C_3DObject.h
@@ -37,6 +37,7 @@ public:
inline const Vect3D_t& GetRot() { return m_Rot; }
inline const Vect3D_t& GetScale() { return m_Scale; }
inline const BoundingBox_t& GetBoundingBox() { return m_BBox; }
+ inline const BoundingBox_t& GetAbsBoundBox() { return m_BBox + m_Pos; }
inline bool Initialized() { return m_bDispListValid; }
void TransRotateScale(); //applies the scaling, translation and rotation