pub fn morton_encode_3d(x: u32, y: u32, z: u32) -> u32
Encode 3D integer coordinates into a 30-bit Morton (Z-order curve) code.