diff options
| author | tech kaczynski <tk@techkaczynski.dev> | 2026-10-01 06:19:28 +1000 |
|---|---|---|
| committer | tech kaczynski <tk@techkaczynski.dev> | 2026-10-01 06:19:28 +1000 |
| commit | cc4ba95edf2927eda63af1aeb79a503bc6fe6182 (patch) | |
| tree | 1318fa93fdd99d56275534bffb7fea215065b4f1 /app.c | |
| parent | 2790624094ab0b81dfdc3150eaf0da08accf610e (diff) | |
reimplemented models properly and removed placeholder entity drawing code.
Diffstat (limited to 'app.c')
| -rw-r--r-- | app.c | 39 |
1 files changed, 0 insertions, 39 deletions
@@ -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)) || |
