summaryrefslogtreecommitdiff
path: root/src/resources/loaders.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 20:29:27 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 20:29:27 +1000
commit567d384b698151e287e31140709c93f1b92e6db4 (patch)
treee00975124d3f002a8aaa22e85475d913c6950346 /src/resources/loaders.h
parent13949ca02bcf9fcdfcc48ea7949f617553a260b6 (diff)
loading joints and animations
Diffstat (limited to 'src/resources/loaders.h')
-rw-r--r--src/resources/loaders.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/loaders.h b/src/resources/loaders.h
index 220a391..ea1f9a2 100644
--- a/src/resources/loaders.h
+++ b/src/resources/loaders.h
@@ -5,13 +5,13 @@
#include "str.h"
// --- Public API
-PUB ModelHandle ModelLoad_obj(const char *path, bool invert_texture_y);
-PUB ModelHandle ModelLoad_gltf(const char *path, bool invert_texture_y);
+PUB ModelHandle ModelLoad_obj(const char* path, bool invert_texture_y);
+PUB ModelHandle ModelLoad_gltf(const char* path, bool invert_texture_y);
typedef struct GLTF_LoadStats {
u32 mesh_count, material_count, vertex_count, index_count, animation_count, joint_count;
} GLTF_LoadStats;
// --- Internal
-bool model_load_gltf_str(const char *file_string, const char *filepath, Str8 relative_path,
- Model *out_model, bool invert_textures_y);
+bool model_load_gltf_str(const char* file_string, const char* filepath, Str8 relative_path,
+ Model* out_model, bool invert_textures_y);