Using global meshlet culling list

This commit is contained in:
Dynamitos
2024-05-12 19:36:32 +02:00
parent 7fc7ba56d4
commit 2762f9e729
22 changed files with 399 additions and 324 deletions
+1 -4
View File
@@ -18,9 +18,6 @@ void MeshUpdater::update(Component::Transform& transform, Component::Mesh& comp)
{
for (auto& mesh : comp.asset->meshes)
{
if (!comp.isStatic)
{
mesh->vertexData->updateMesh(mesh, transform);
}
mesh->vertexData->updateMesh(mesh, transform);
}
}