[][src]Function morton_encoding::morton_encode_u16_3d

pub fn morton_encode_u16_3d(x: [u16; 3]) -> u64

Encodes an array of 3 u16 values ([u16; 3]), producing one u64 value as the result.

In the event that one u64 is strictly larger than 3 u16s, all significant bits are gathered at the end, and extraneous bits at the beginning are cleared.