Skip to main content

octahedral_decode_signed

Function octahedral_decode_signed 

Source
pub fn octahedral_decode_signed(v: Vec2) -> Vec3
Expand description

Decode octahedral coordinates to normals or unit direction vectors. Input is [-1, 1].