Skip to main content

morton_cmp

Function morton_cmp 

Source
pub fn morton_cmp(a: [u32; 3], b: [u32; 3]) -> Ordering
Expand description

Morton order matching morton_key: at each bit, z, then y, then x.

x occupies the least significant bit of each triplet, so it varies first along the curve.