From 55d8e445db27a6a5294ef1d6cff5cff367e1b6d4 Mon Sep 17 00:00:00 2001 From: Foxar Date: Sun, 20 Dec 2020 14:12:52 +0100 Subject: [PATCH] Fixed: Typo in bounding box getters. --- src/engine/include/models/bounding_box.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/include/models/bounding_box.hpp b/src/engine/include/models/bounding_box.hpp index b95244c..1e7b364 100644 --- a/src/engine/include/models/bounding_box.hpp +++ b/src/engine/include/models/bounding_box.hpp @@ -22,6 +22,9 @@ */ struct BoundingBoxFace { + BoundingBoxFace(){ + + }; BoundingBoxFace(const Vector3 &t_minCorner, const Vector3 &t_maxCorner, float t_axisPos) { minCorner = t_minCorner; @@ -60,7 +63,7 @@ public: /** Return the right face (nearer on x-axis) */ const BoundingBoxFace &getRightFace() { return _rightFace; }; /** 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) */ const BoundingBoxFace &getBottomFace() { return _bottomFace; };