summaryrefslogtreecommitdiffstats
path: root/MatchBloxEngine/MatchBloxEngine/C_3DObject.h
diff options
context:
space:
mode:
authorDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-20 07:38:10 (GMT)
committerDennis Peeten <dpeeten@onsneteindhoven.nl>2008-05-20 07:38:10 (GMT)
commitfeacf51e22520a397115fd8cc1a243c305bcb90d (patch)
treeb9bb80a4547c1dcc2adc4e1c316440a924f52f1e /MatchBloxEngine/MatchBloxEngine/C_3DObject.h
parent22f696333adb805fa72aca0a1b5cd20a48d14fbd (diff)
download2iv55-feacf51e22520a397115fd8cc1a243c305bcb90d.zip
2iv55-feacf51e22520a397115fd8cc1a243c305bcb90d.tar.gz
2iv55-feacf51e22520a397115fd8cc1a243c305bcb90d.tar.bz2
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