Changed: Renamed getBoundingBox() to getBoundingBoxVertices() as the function returns the array of vertices from the BoundingBox object.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user