EriKWDev / nanim

Nanim is an easy-to-use framework to create smooth GPU-accelerated animations that can be previewed live inside a glfw window and, when ready, rendered to videos at an arbitrary resolution and framerate.
MIT License
119 stars 3 forks source link

sceneEntity's scene's time is not mutated/updated on tick(deltaTime) #5

Open EriKWDev opened 3 years ago

EriKWDev commented 3 years ago

For some reason, when a sceneEntity gets drawn it doesn't update it's internal scene's time even though sceneEntity.scene.tick(deltaTime) is being called. I don't know why. See src/nanim/entities/scene_entity.nim's draw() method.