Changed: Return type of getVertex() to be const.

This commit is contained in:
Foxar
2020-12-21 20:09:00 +01:00
parent 8137bd56d8
commit f8f91c6b49
+1 -1
View File
@@ -69,7 +69,7 @@ public:
* Returns bounding box raw vertices array.
* Total length: 8
*/
Vector3 &getVertex(const u8 &i) { return _vertices[i]; };
const Vector3 &getVertex(const u8 &i) { return _vertices[i]; };
/** Returns single vertex from raw vertices array.*/
Vector3 *getVertices() { return _vertices; };