From 02d79169255638f0c1ddf341981b951626542c11 Mon Sep 17 00:00:00 2001 From: Foxar Date: Mon, 21 Dec 2020 19:04:34 +0100 Subject: [PATCH] Fixed: Fixed incorrect naming of boundingbox constructor parameters. --- src/engine/models/bounding_box.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/models/bounding_box.cpp b/src/engine/models/bounding_box.cpp index 271632f..948bacb 100644 --- a/src/engine/models/bounding_box.cpp +++ b/src/engine/models/bounding_box.cpp @@ -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.