From cc4ba95edf2927eda63af1aeb79a503bc6fe6182 Mon Sep 17 00:00:00 2001 From: tech kaczynski Date: Thu, 1 Oct 2026 06:19:28 +1000 Subject: reimplemented models properly and removed placeholder entity drawing code. --- app.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'app.c') diff --git a/app.c b/app.c index 98cd420..18f0d9c 100644 --- a/app.c +++ b/app.c @@ -34,35 +34,6 @@ app_init(void) { game_init(); editor_init(); cam_init(); - - // for (int i = 0; i < 10000; ++i) { - // u64 id = entity_create(false); - // Entity *ent = entity_get(id); - - // char name[16]; - // snprintf(name, 16, "Entity %i", i); - // free(ent->name); - // ent->name = strdup(name); - - // ent->tr.pos = (Vec3){ - // GetRandomValue(-50, 50), - // GetRandomValue(-10, 10), - // GetRandomValue(-50, 50), - // }; - // } - - // for (int i = 0; i < entity_count(); ++i) { - // u64 id = entity_id_at(i); - - // if (i == 5) { - // u64 parent_id = entity_id_at(4); - // entity_set_parent(id, parent_id); - // } - - // if (i == 10) { - // entity_delete(id); - // } - // } } static void @@ -95,16 +66,6 @@ app_loop(void) { BeginMode3D(main_cam.cam); entity_system_draw_3d(); - - // delete this shit later - for (u32 i = 0; i < entity_count(); ++i) { - Matrix world = entity_world_matrix(entity_id_at(i)); - - rlPushMatrix(); - rlMultMatrixf(MatrixToFloatV(world).v); - DrawCubeWiresV(Vector3Zero(), Vector3One(), GREEN); - rlPopMatrix(); - } EndMode3D(); if (FLAG_CHECK(app.flags, BIT(APP_FLAG_DEBUG)) || -- cgit v1.2.3