Function vfxpreopenexr::core::envmap::latlong::latlong_from_direction[][src]

pub fn latlong_from_direction<V3: Vec3<f32>, V2: Vec2<f32>>(
    direction: &V3
) -> V2
Expand description

Convert a 3D direction to a 2D vector whose x and y components represent the corresponding latitude and longitude.