From 8d6b838d0a5919620ca8562ac6be1da5c0c3237e Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Sat, 13 Jul 2024 16:34:48 +1000 Subject: add empty shell scripts --- examples/game_demo/game_demo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'examples/game_demo') 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); -- cgit v1.2.3-70-g09d2