For some reason, the last bit of the X representation in 32-bit mode is overflowing in marching_cubes.hpp. This prevents us from using all 11 bits, so we are limited to 511 voxels in the X dimension. There's a few ways this could happen:
Two vertices interact using addition and it triggers a carry / overflow.
For some reason, the last bit of the X representation in 32-bit mode is overflowing in
marching_cubes.hpp
. This prevents us from using all 11 bits, so we are limited to 511 voxels in the X dimension. There's a few ways this could happen: