Fixing slang compilation temporarily, renaming vertexfactory

This commit is contained in:
Dynamitos
2020-08-06 00:54:43 +02:00
parent ab4a3b5e23
commit f27859a02c
66 changed files with 1005 additions and 627 deletions
-13
View File
@@ -31,16 +31,3 @@ void Scene::addPrimitiveComponent(PPrimitiveComponent comp)
{
primitives.add(comp);
}
Array<MeshBatch> Scene::getMeshBatches()
{
meshBatches.clear();
for (auto primitive : primitives)
{
for(auto batch : primitive->staticMeshes)
{
meshBatches.add(batch);
}
}
return meshBatches;
}