summaryrefslogtreecommitdiff
path: root/examples/game_demo/game_demo.c
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-13 16:34:48 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-13 16:34:48 +1000
commit8d6b838d0a5919620ca8562ac6be1da5c0c3237e (patch)
tree0cffbe159b23464e64cde1165e9e58031d0623b8 /examples/game_demo/game_demo.c
parentf74cf52946f4e569a26bc81105537b40be95c2c7 (diff)
add empty shell scripts
Diffstat (limited to 'examples/game_demo/game_demo.c')
-rw-r--r--examples/game_demo/game_demo.c5
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);