From e3de98c8ee8a5ace29b8c3673358e9abfbdbdd1f Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:48:51 +1000 Subject: feat: grid: use hardcoded indices --- examples/game_demo/game_demo.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c index 2362a2e..dfb70d1 100644 --- a/examples/game_demo/game_demo.c +++ b/examples/game_demo/game_demo.c @@ -6,6 +6,7 @@ #include #include "camera.h" #include "core.h" +#include "grid.h" #include "input.h" #include "keys.h" #include "loaders.h" @@ -105,14 +106,15 @@ int main() { if (draw_debug) { // draw the player model with shadows - Render_RenderEntities(render_entities->data, render_entities->len); + // Render_RenderEntities(render_entities->data, render_entities->len); // Render_DrawTerrain(); Skybox_Draw(&skybox, cam); } else { Shadow_DrawDebugQuad(); } - Terrain_Draw(terrain); + // Terrain_Draw(terrain); + Grid_Draw(); // END Draw calls Frame_Draw(); -- cgit v1.2.3-70-g09d2