Function direction_to_equirectangular_uv

Source
pub fn direction_to_equirectangular_uv(dir: Vec3) -> Vec2
Expand description

Takes a unit direction and converts it to a uv lookup in an equirectangular map.