diff --git a/dod.c b/dod.c index cfa70ed..28acb29 100644 --- a/dod.c +++ b/dod.c @@ -92,7 +92,7 @@ int main(void) { SetTraceLogLevel(LOG_NONE); InitWindow(WIDTH, HEIGHT, "DOD test"); - // SetTargetFPS(target_fps); + SetTargetFPS(target_fps); Allocator arena = wapp_mem_arena_allocator_init(MB(20)); assert(!wapp_mem_allocator_invalid(&arena)); @@ -134,7 +134,7 @@ int main(void) { ClearBackground(BG_COLOR); - // render_entities(manager.tags, manager.rects, manager.count); + render_entities(manager.tags, manager.rects, manager.count); DrawFPS(10, 10); diff --git a/no_dod.c b/no_dod.c index fa61720..73e03ea 100644 --- a/no_dod.c +++ b/no_dod.c @@ -50,7 +50,7 @@ f32 get_random_float(XOR256State *state); int main(void) { SetTraceLogLevel(LOG_NONE); InitWindow(WIDTH, HEIGHT, "No-DOD test"); - // SetTargetFPS(120); + SetTargetFPS(120); Allocator arena = wapp_mem_arena_allocator_init(MB(20)); XOR256State state = wapp_prng_xorshift_init_state(); @@ -84,13 +84,13 @@ int main(void) { ClearBackground(BG_COLOR); - // for (u64 i = 0; i < ZONE_COUNT; ++i) { - // render_slow_zone(&(zones[i])); - // } - // - // for (u64 i = 0; i < WANDERER_COUNT; ++i) { - // render_wanderer(&(wanderers[i])); - // } + for (u64 i = 0; i < ZONE_COUNT; ++i) { + render_slow_zone(&(zones[i])); + } + + for (u64 i = 0; i < WANDERER_COUNT; ++i) { + render_wanderer(&(wanderers[i])); + } DrawFPS(10, 10);