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
@@ -14,12 +14,10 @@ Actor::~Actor()
}
void Actor::tick(float deltaTime)
{
addWorldRotation(glm::vec3(0, 1 * deltaTime, 0));
}
void Actor::notifySceneAttach(PScene scene)
{
owningScene = scene;
scene->getSceneUpdater()->registerActorUpdate(this);
rootComponent->notifySceneAttach(scene);
for(auto child : children)
{