diff options
Diffstat (limited to 'gltfview')
-rw-r--r-- | gltfview/src/game.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gltfview/src/game.c b/gltfview/src/game.c index 662272c..698267e 100644 --- a/gltfview/src/game.c +++ b/gltfview/src/game.c | |||
@@ -262,10 +262,7 @@ void game_end(Game* game) { gfx_destroy(&game->gfx); } | |||
262 | void game_update(Game* game, double t, double dt) { | 262 | void game_update(Game* game, double t, double dt) { |
263 | // LOGD("Tick"); | 263 | // LOGD("Tick"); |
264 | 264 | ||
265 | // TODO: Animation should be handled by Gfx instead. Descend through the scene | 265 | gfx_animate_scene(game->scene, (R)t); |
266 | // looking for animas and animate them. gfx_animate(t). | ||
267 | Anima* anima = gfx_get_node_anima(game->root_node); | ||
268 | gfx_update_animation(anima, t); | ||
269 | 266 | ||
270 | // TODO: Compute bounding boxes to then find a good orbit point and radius | 267 | // TODO: Compute bounding boxes to then find a good orbit point and radius |
271 | // for each scene. | 268 | // for each scene. |