From 2b83174a87f5a1e4991cc9153309ad0f73450b44 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Thu, 14 Mar 2024 22:29:15 +1100 Subject: fix cube texture path now that we can load relative path --- src/resources/obj.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/resources/obj.c') diff --git a/src/resources/obj.c b/src/resources/obj.c index 710d5f0..56f885f 100644 --- a/src/resources/obj.c +++ b/src/resources/obj.c @@ -45,11 +45,8 @@ model_handle model_load_obj(core *core, const char *path, bool invert_textures_y if (!relative_path.has_value) { WARN("Couldnt get a relative path for the path to use for loading materials & textures later"); } - printf("Relative path: %s\n", relative_path.path.buf); const char *file_string = string_from_file(path); - // TODO: store the relative path without the name.obj at the end - model model = { 0 }; model.name = str8_cstr_view(path); model.meshes = mesh_darray_new(1); -- cgit v1.2.3-70-g09d2