Staging before meshlet linearization

This commit is contained in:
Dynamitos committed 2024-05-09 08:41:46 +02:00
1 parent 46a2713729
commit 7fc7ba56d4
33 files changed
+888 -709

No files matched your search

+4 -1
View File
@@ -18,6 +18,9 @@ void MeshUpdater::update(Component::Transform& transform, Component::Mesh& comp)
{
for (auto& mesh : comp.asset->meshes)
{
mesh->vertexData->updateMesh(mesh, transform);
if (!comp.isStatic)
{
mesh->vertexData->updateMesh(mesh, transform);
}
}
}