diff options
Diffstat (limited to 'examples/game_demo')
-rw-r--r-- | examples/game_demo/game_demo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c index 5e76ced..a9f91ea 100644 --- a/examples/game_demo/game_demo.c +++ b/examples/game_demo/game_demo.c @@ -50,13 +50,16 @@ int main() { // TODO: query joints of the gltf to get the hand bone to parent a sword to RenderEnt player_r = { .model = player_model, .affine = mat4_ident(), .casts_shadows = true }; + + RenderEnt entities[] = { player_r }; + while (!ShouldExit()) { Frame_Begin(); // BEGIN Draw calls // draw the player model with shadows - + Render_RenderEntities(entities, 1); Render_DrawTerrain(); Skybox_Draw(&skybox); |