Changed: Replaced old getBoundingBox and getBoundingBoxVertex functions with new ones, using the new bounding_box class infrastructure.
This commit is contained in:
@@ -80,13 +80,15 @@ public:
|
||||
* Returns bounding box (AABB).
|
||||
* Total length: 8
|
||||
*/
|
||||
Vector3 *getBoundingBox() { return boundingBox; };
|
||||
//Vector3 *getBoundingBox() { return boundingBox; };
|
||||
Vector3 *getBoundingBox() { return boundingBoxObj->getVertices(); };
|
||||
|
||||
/**
|
||||
* Returns bounding box (AABB) vertex.
|
||||
* Total length: 8
|
||||
*/
|
||||
Vector3 &getBoundingBoxVertex(const u8 &i) { return boundingBox[i]; };
|
||||
//Vector3 &getBoundingBoxVertex(const u8 &i) { return boundingBox[i]; };
|
||||
Vector3 &getBoundingBoxVertex(const u8 &i) { return boundingBoxObj->getVertex(i); };
|
||||
|
||||
/**
|
||||
* Returns bounding box (AABB) object pointer.
|
||||
|
||||
Reference in New Issue
Block a user