jpaver / opengametools

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

VOX string size max of 64 does not include null, need 65 bytes #13

Closed dougbinks closed 3 years ago

dougbinks commented 3 years ago

The string arrays in ogt_vox are 64 bytes long, but I have encountered a string name of 64bytes plus the NULL terminator making 65 bytes.

This PR updates the size of the char arrays to 65 bytes to resolve this issue.

jpaver commented 3 years ago

looks good, thanks for the fix!