Goxel Voxel Editor Internals - Part 2: voxel data structure
In this second part of my series about goxel voxel editor internals, I will talk about the way voxel data is stored in memory. As usual, all the code is open source and accessible on the github repo. The voxel models are composed of many individual voxel, each of them having a color. For the structure of the voxel I wanted: Optimized memory usage: if a model is large but composed of few voxels I don’t want to use extra memory for the empty spaces....