Fixed: Fixed incorrect naming of boundingbox constructor parameters.

This commit is contained in:
Foxar
2020-12-21 19:04:34 +01:00
parent 1cc1e62ed6
commit 02d7916925
+2 -2
View File
@@ -11,11 +11,11 @@
#include "../include/models/bounding_box.hpp"
#include "../include/utils/debug.hpp"
BoundingBox::BoundingBox(Vector3 *t_vectorArray)
BoundingBox::BoundingBox(Vector3 *t_vertices)
{
//Perform a deep copy of vertex array parameter
for (int i = 0; i < 8; i++)
_vertices[i] = t_vectorArray[i];
_vertices[i] = t_vertices[i];
//This might be shortened with Vector3 operator overloading, but current
//implementation is more human readable.