Add basic loader for gltf

Added loading of avocado. Something is still wrong though,
becaus I cannot see the seed. But basic functionality is there.
This commit is contained in:
Piotr Krygier
2026-03-19 21:00:39 +01:00
parent 984a56a8e8
commit 99fb36d9fd
14 changed files with 186 additions and 32 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
#include <stddef.h>
#include "commons.h"
#include "cgltf.h"
#define MAX_PATH_LENGTH (4096U)
@@ -22,7 +23,7 @@ rse_err_t file_load_pixels(const char* file_name, unsigned char* buffer, size_t*
rse_err_t file_append_full_path(char* file_path, size_t max_buffer_size);
rse_err_t file_json_parser(const char* file_name);
rse_err_t file_load_gltf(const char* file_name, cgltf_data** data);
#endif /* FILE_UTILS_H */