pub fn morton_code(position: Vec3, bbox: &Box) -> u32
Compute a 30-bit Morton code for a position within the given bounding box. Returns K_NO_CODE for NaN positions (unreferenced vertices).