Changed: Renamed getBoundingBox() to getBoundingBoxVertices() as the function returns the array of vertices from the BoundingBox object.

This commit is contained in:
Foxar
2020-12-21 19:41:29 +01:00
parent 5c232aebce
commit 9e1a9e8b3c
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ public:
Vector3 &getCurrentBoundingBoxVertex(const u8 &i) { return frames[animState.currentFrame].getBoundingBoxVertex(i); }; Vector3 &getCurrentBoundingBoxVertex(const u8 &i) { return frames[animState.currentFrame].getBoundingBoxVertex(i); };
/** Returns bounding box of current frame. Size: 8 */ /** Returns bounding box of current frame. Size: 8 */
Vector3 *getCurrentBoundingBox() const { return frames[animState.currentFrame].getBoundingBox(); }; Vector3 *getCurrentBoundingBox() const { return frames[animState.currentFrame].getBoundingBoxVertices(); };
// ---- // ----
// Setters // Setters
+2 -2
View File
@@ -80,7 +80,7 @@ public:
* Returns bounding box (AABB). * Returns bounding box (AABB).
* Total length: 8 * Total length: 8
*/ */
Vector3 *getBoundingBox() { return boundingBoxObj->getVertices(); }; Vector3 *getBoundingBoxVertices() { return boundingBoxObj->getVertices(); };
/** /**
* Returns bounding box (AABB) vertex. * Returns bounding box (AABB) vertex.
@@ -91,7 +91,7 @@ public:
/** /**
* Returns bounding box (AABB) object pointer. * Returns bounding box (AABB) object pointer.
*/ */
BoundingBox *getBoundingBoxP() { return boundingBoxObj; }; BoundingBox *getBoundingBox() { return boundingBoxObj; };
// ---- // ----
// Setters // Setters
+2 -2
View File
@@ -66,7 +66,7 @@ public:
* Returns bounding box (AABB). * Returns bounding box (AABB).
* Total length: 8 * Total length: 8
*/ */
Vector3 *getBoundingBox() { return boundingBoxObj->getVertices(); }; Vector3 *getBoundingBoxVertices() { return boundingBoxObj->getVertices(); };
/** /**
* Returns bounding box (AABB) vertex. * Returns bounding box (AABB) vertex.
@@ -77,7 +77,7 @@ public:
/** /**
* Returns bounding box (AABB) object pointer. * Returns bounding box (AABB) object pointer.
*/ */
BoundingBox *getBoundingBoxP() { return boundingBoxObj; }; BoundingBox *getBoundingBox() { return boundingBoxObj; };
// ---- // ----
// Setters // Setters