Got a bit further

This commit is contained in:
Dynamitos committed 2023-11-05 11:47:22 +01:00
1 parent 77eb92838c
commit d35f7acddc
11 files changed
+32 -20

No files matched your search

+1
View File
@@ -257,6 +257,7 @@ void MeshLoader::loadGlobalMeshes(const aiScene* scene, const Array<PMaterialAss
globalMeshes[meshIndex]->id = id;
globalMeshes[meshIndex]->referencedMaterial = materials[mesh->mMaterialIndex]->getMaterial()->instantiate();
globalMeshes[meshIndex]->meshlets = std::move(meshlets);
globalMeshes[meshIndex]->vertexCount = mesh->mNumVertices;
}
}