Added: Integrated new BoundingBox class implentation with mesh_frame boundingbox calculations.

This commit is contained in:
Foxar
2020-12-20 13:38:26 +01:00
parent 9b2d39505b
commit 53c134b0d5
2 changed files with 13 additions and 0 deletions
+3
View File
@@ -13,6 +13,7 @@
#include <stddef.h>
#include <tamtypes.h>
#include "bounding_box.hpp"
#include "math/point.hpp"
#include "math/vector3.hpp"
#include "./mesh_material.hpp"
@@ -139,7 +140,9 @@ public:
void calculateBoundingBoxes();
private:
/** Deprecated. It is advised to use BoundingBox class instead. */
Vector3 boundingBox[8];
BoundingBox *boundingBoxObj;
u8 _areSTsAllocated,
_areVerticesAllocated,
_areNormalsAllocated,