MATH: added function to obtain size of AABBs
This commit is contained in:
parent
3eaebb47e2
commit
2e45130a70
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue