Function openexr::core::envmap::latlong::direction_from_pixel_position[][src]

pub fn direction_from_pixel_position<B: Bound2<i32>, V2: Vec2<f32>, V3: Vec3<f32>>(
    data_window: &B,
    position: &V2
) -> V3
Expand description

Convert a 2D vector, whose x and y components represent longitude and latitude, into a corresponding pixel position.