Skip to main content

octahedral_decode

Function octahedral_decode 

Source
pub fn octahedral_decode(oct: [f32; 2]) -> [f32; 3]
Expand description

Decode an octahedral-encoded normal back to a unit vector.