REVIEWED: Vox loader

This commit is contained in:
Ray
2021-09-10 15:37:31 +02:00
parent a422d2fc8b
commit 352ea80a1f
2 changed files with 127 additions and 167 deletions

View File

@ -74,19 +74,10 @@
#endif
#if defined(SUPPORT_FILEFORMAT_VOX)
// Allow custom memory allocators
#ifndef VOX_MALLOC
#define VOX_MALLOC RL_MALLOC
#endif
#ifndef VOX_CALLOC
#define VOX_CALLOC RL_CALLOC
#endif
#ifndef VOX_REALLOC
#define VOX_REALLOC RL_REALLOC
#endif
#ifndef VOX_FREE
#define VOX_FREE RL_FREE
#endif
#define VOX_MALLOC RL_MALLOC
#define VOX_CALLOC RL_CALLOC
#define VOX_REALLOC RL_REALLOC
#define VOX_FREE RL_FREE
#define VOX_LOADER_IMPLEMENTATION
#include "external/vox_loader.h" // vox file format loading (MagikaVoxel)