Skip to main content

compress_quaternion

Function compress_quaternion 

Source
pub fn compress_quaternion(q: [f32; 4]) -> [u16; 3]
Expand description

Smallest-three quaternion compression: store only the 3 smallest components and the index of the largest.