Got a bit further

This commit is contained in:
Dynamitos
2023-11-05 11:47:22 +01:00
parent 77eb92838c
commit d35f7acddc
11 changed files with 32 additions and 20 deletions
+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;
}
}