A set of open c++ game development tools that are lightweight, easy-to-integrate and free to use. Currently hosting a magicavoxel .vox full scene loader.
MIT License
373
stars
35
forks
source link
ogt_vox: added check for buffer and chunk size overflow #50
This PR adds a check for potential buffer_size and chunk size overflow, exiting and returning NULL if this would occur.
This prevents a corrupt .vox file from being generated, which is possible even within the MagicaVoxel 2kx1kx2k visible scene limitations.