Fixed: Typo in bounding box getters.

This commit is contained in:
Foxar
2020-12-20 14:12:52 +01:00
parent 11a4e2ee76
commit 55d8e445db
+4 -1
View File
@@ -22,6 +22,9 @@
*/ */
struct BoundingBoxFace struct BoundingBoxFace
{ {
BoundingBoxFace(){
};
BoundingBoxFace(const Vector3 &t_minCorner, const Vector3 &t_maxCorner, float t_axisPos) BoundingBoxFace(const Vector3 &t_minCorner, const Vector3 &t_maxCorner, float t_axisPos)
{ {
minCorner = t_minCorner; minCorner = t_minCorner;
@@ -60,7 +63,7 @@ public:
/** Return the right face (nearer on x-axis) */ /** Return the right face (nearer on x-axis) */
const BoundingBoxFace &getRightFace() { return _rightFace; }; const BoundingBoxFace &getRightFace() { return _rightFace; };
/** Return the top face (further on y-axis) */ /** Return the top face (further on y-axis) */
const BoundingBoxFace &getTopFace() { return _frontFace; }; const BoundingBoxFace &getTopFace() { return _topFace; };
/** Return the bottom face (nearer on y-axis) */ /** Return the bottom face (nearer on y-axis) */
const BoundingBoxFace &getBottomFace() { return _bottomFace; }; const BoundingBoxFace &getBottomFace() { return _bottomFace; };