coroutines truly are cursed

This commit is contained in:
Dynamitos committed 2021-11-11 20:12:50 +01:00
1 parent 1848bb5139
commit 01049019fd
25 files changed
+202 -92

No files matched your search

-2
View File
@@ -13,7 +13,6 @@ inline float frand()
Scene::Scene(Gfx::PGraphics graphics)
: graphics(graphics)
, updater(new SceneUpdater())
{
lightEnv.directionalLights[0].color = Vector4(1, 1, 1, 1);
lightEnv.directionalLights[0].direction = Vector4(1, 1, 0, 1);
@@ -36,7 +35,6 @@ Scene::~Scene()
void Scene::tick(double deltaTime)
{
updater->runUpdates(static_cast<float>(deltaTime));
for(auto &&meshBatch : staticMeshes)
{
meshBatch.material->updateDescriptorData();