Changed: Return types in mesh_frame and mesh_materials for getBoundingBoxVertex() to const.
This commit is contained in:
@@ -86,7 +86,7 @@ public:
|
||||
* Returns bounding box (AABB) vertex.
|
||||
* 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.
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
* Returns bounding box (AABB) vertex.
|
||||
* 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.
|
||||
|
||||
Reference in New Issue
Block a user