Refactor AABB class
This commit is contained in:
@@ -53,7 +53,7 @@ namespace openVulkanoCpp::Scene
|
||||
void Geometry::Init(aiMesh* mesh)
|
||||
{
|
||||
#ifdef ASSIMP_AVAILABLE
|
||||
aabb.Init();
|
||||
aabb.Reset();
|
||||
Init(mesh->mNumVertices, mesh->mNumFaces * 3); // Reserve the space for the data
|
||||
for (unsigned int i = 0; i < mesh->mNumVertices; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user