Use this tag for questions about Morton order and related questions about Z-order curves.
This question: How to de-interleave bits (UnMortonizing?) has a good answer for extracting one of the two halves of a …
bit-manipulation z-order-curveI need to shuffle a 16 bit unsigned integer in a way that the even indexes land in the lower byte, …
c++ c bit-manipulation z-order-curve