14 years, 4 months ago
Highlights
Found the same question already answered on StackOverflow. http://stackoverflow.com/questions/7367770/how-to-flatten-or-index-3d-array-in-1d-array
14 years, 4 months ago
I would like to represent a 3D array as a 1D dynamically-sized list for voxel storage. How can I convert between a single number (representing an index in the 1D list) to a 3D c…
14 years, 4 months ago