![]() |
Wise&mystical
1.0
Project about Europe
|
Go to the source code of this file.
Classes | |
struct | VoxColor |
struct | VoxVector3 |
struct | ArrayVector3 |
struct | ArrayColor |
struct | ArrayUShort |
struct | CubeChunk3D |
struct | VoxArray3D |
Macros | |
#define | VOX_MALLOC(sz) malloc(sz) |
#define | VOX_CALLOC(n, sz) calloc(n,sz) |
#define | VOX_REALLOC(n, sz) realloc(n,sz) |
#define | VOX_FREE(p) free(p) |
#define | VOX_SUCCESS (0) |
#define | VOX_ERROR_FILE_NOT_FOUND (-1) |
#define | VOX_ERROR_INVALID_FORMAT (-2) |
#define | VOX_ERROR_FILE_VERSION_TOO_OLD (-3) |
Functions | |
int | Vox_LoadFromMemory (unsigned char *pvoxData, unsigned int voxDataSize, VoxArray3D *pvoxarray) |
void | Vox_FreeArrays (VoxArray3D *voxarray) |
#define VOX_CALLOC | ( | n, | |
sz | |||
) | calloc(n,sz) |
Definition at line 58 of file vox_loader.h.
#define VOX_ERROR_FILE_NOT_FOUND (-1) |
Definition at line 68 of file vox_loader.h.
#define VOX_ERROR_FILE_VERSION_TOO_OLD (-3) |
Definition at line 70 of file vox_loader.h.
#define VOX_ERROR_INVALID_FORMAT (-2) |
Definition at line 69 of file vox_loader.h.
#define VOX_FREE | ( | p | ) | free(p) |
Definition at line 64 of file vox_loader.h.
#define VOX_MALLOC | ( | sz | ) | malloc(sz) |
Definition at line 55 of file vox_loader.h.
#define VOX_REALLOC | ( | n, | |
sz | |||
) | realloc(n,sz) |
Definition at line 61 of file vox_loader.h.
#define VOX_SUCCESS (0) |
Definition at line 67 of file vox_loader.h.
void Vox_FreeArrays | ( | VoxArray3D * | voxarray | ) |
int Vox_LoadFromMemory | ( | unsigned char * | pvoxData, |
unsigned int | voxDataSize, | ||
VoxArray3D * | pvoxarray | ||
) |