Changed: Return types in mesh_frame and mesh_materials for getBoundingBoxVertex() to const.

This commit is contained in:
Foxar
2020-12-21 20:15:18 +01:00
parent f8f91c6b49
commit 115dac21bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ public:
* Returns bounding box (AABB) vertex. * Returns bounding box (AABB) vertex.
* Total length: 8 * Total length: 8
*/ */
Vector3 &getBoundingBoxVertex(const u8 &i) { return boundingBoxObj->getVertex(i); }; const Vector3 &getBoundingBoxVertex(const u8 &i) { return boundingBoxObj->getVertex(i); };
/** /**
* Returns bounding box (AABB) object pointer. * Returns bounding box (AABB) object pointer.
+1 -1
View File
@@ -72,7 +72,7 @@ public:
* Returns bounding box (AABB) vertex. * Returns bounding box (AABB) vertex.
* Total length: 8 * Total length: 8
*/ */
Vector3 &getBoundingBoxVertex(const u8 &i) { return boundingBoxObj->getVertex(i); }; const Vector3 &getBoundingBoxVertex(const u8 &i) { return boundingBoxObj->getVertex(i); };
/** /**
* Returns bounding box (AABB) object pointer. * Returns bounding box (AABB) object pointer.