diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-31 10:48:51 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-31 10:48:51 +1000 |
commit | e3de98c8ee8a5ace29b8c3673358e9abfbdbdd1f (patch) | |
tree | 72c50cb8c51e4fc9f01b450375543607b2c84c34 /examples | |
parent | 0f703b8a5129acfa13c92ce79699d86833dcc561 (diff) |
feat: grid: use hardcoded indices
Diffstat (limited to 'examples')
-rw-r--r-- | examples/game_demo/game_demo.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <assert.h> #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(); |