From 567d384b698151e287e31140709c93f1b92e6db4 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:29:27 +1000 Subject: loading joints and animations --- src/resources/obj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/obj.c') diff --git a/src/resources/obj.c b/src/resources/obj.c index e02cb9a..a5e9b18 100644 --- a/src/resources/obj.c +++ b/src/resources/obj.c @@ -42,7 +42,7 @@ KITC_DECL_TYPED_ARRAY(face) // bool model_load_obj_str(const char *file_string, str8 relative_path, Model *out_model, // bool invert_textures_y); -ModelHandle model_load_obj(Core *core, const char *path, bool invert_textures_y) { +ModelHandle model_load_obj(Core* core, const char* path, bool invert_textures_y) { size_t arena_size = 1024; arena scratch = arena_create(malloc(arena_size), arena_size); @@ -51,7 +51,7 @@ ModelHandle 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"); } - const char *file_string = string_from_file(path); + const char* file_string = string_from_file(path); ModelHandle handle; // model *model = model_pool_alloc(&g_core.models, &handle); @@ -70,7 +70,7 @@ ModelHandle model_load_obj(Core *core, const char *path, bool invert_textures_y) return handle; } -bool model_load_obj_str(const char *file_string, Str8 relative_path, Model *out_model, +bool model_load_obj_str(const char* file_string, Str8 relative_path, Model* out_model, bool invert_textures_y) { TRACE("Load OBJ from string"); -- cgit v1.2.3-70-g09d2