diff options
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)) || |
