From 6a849ab47bf585a9948ef6225915a421eff3902f Mon Sep 17 00:00:00 2001 From: Omniscient Date: Tue, 5 Mar 2024 22:21:08 +1100 Subject: remove some comments --- src/resources/obj.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/resources/obj.c b/src/resources/obj.c index 994e12a..fca6b0e 100644 --- a/src/resources/obj.c +++ b/src/resources/obj.c @@ -37,9 +37,8 @@ bool load_material_lib(const char *path, material_darray *materials); bool model_load_obj_str(const char *file_string, model *out_model, bool invert_textures_y); model_handle model_load_obj(core *core, const char *path, bool invert_textures_y) { - printf("Path %s\n", path); + TRACE("Loading model at Path %s\n", path); const char *file_string = string_from_file(path); - /* printf("Loaded file %s\n", file_string); */ model model; bool success = model_load_obj_str(file_string, &model, invert_textures_y); @@ -196,9 +195,7 @@ bool model_load_obj_str(const char *file_string, model *out_model, bool invert_t printf("num meshes: %ld\n", mesh_darray_len(meshes)); } out_model->meshes = meshes; - /* for (int i = 0; i < mesh_darray_len(meshes); i++) { */ - /* mesh_darray_push(&out_model->meshes, ((mesh *)meshes->data)[i]); */ - /* } */ + // TODO: bounding box calculation for each mesh // TODO: bounding box calculation for model -- cgit v1.2.3-70-g09d2