From cf07cf78c84b95cda6aed982c334653afe7e761f Mon Sep 17 00:00:00 2001 From: Foxar Date: Mon, 21 Dec 2020 20:06:55 +0100 Subject: [PATCH] Added: Comment for BoundingBox constructor parameters. --- src/engine/models/bounding_box.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/models/bounding_box.cpp b/src/engine/models/bounding_box.cpp index 15eb78d..dc90364 100644 --- a/src/engine/models/bounding_box.cpp +++ b/src/engine/models/bounding_box.cpp @@ -12,6 +12,11 @@ #include "../include/utils/debug.hpp" #include +/** + * Construct a BoundingBox class + * Allows for user friendly access to bounding box data. + * @param t_vertices Array of 8 Vector3 elements. + */ BoundingBox::BoundingBox(Vector3 *t_vertices) { //Perform a deep copy of vertex array parameter