Fixed: Fixed incorrect naming of boundingbox constructor parameters.
This commit is contained in:
@@ -11,11 +11,11 @@
|
|||||||
#include "../include/models/bounding_box.hpp"
|
#include "../include/models/bounding_box.hpp"
|
||||||
#include "../include/utils/debug.hpp"
|
#include "../include/utils/debug.hpp"
|
||||||
|
|
||||||
BoundingBox::BoundingBox(Vector3 *t_vectorArray)
|
BoundingBox::BoundingBox(Vector3 *t_vertices)
|
||||||
{
|
{
|
||||||
//Perform a deep copy of vertex array parameter
|
//Perform a deep copy of vertex array parameter
|
||||||
for (int i = 0; i < 8; i++)
|
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
|
//This might be shortened with Vector3 operator overloading, but current
|
||||||
//implementation is more human readable.
|
//implementation is more human readable.
|
||||||
|
|||||||
Reference in New Issue
Block a user