mirror of
https://github.com/scummvm/scummvm.git
synced 2026-05-21 05:40:43 +00:00
MATH: added function to obtain size of AABBs
This commit is contained in:
@@ -38,6 +38,7 @@ public:
|
||||
void transform(const Math::Matrix4 &matrix);
|
||||
Math::Vector3d getMin() const { return _min; }
|
||||
Math::Vector3d getMax() const { return _max; }
|
||||
Math::Vector3d getSize() const { return _max - _min; }
|
||||
bool isValid() const { return _valid; }
|
||||
bool collides(const AABB &aabb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user