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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user