Function pos

Source
pub fn pos(unixtime_in_ms: i64, lat: f64, lon: f64) -> Position
Expand description

Calculates the sun position for a given date and latitude/longitude. The angles are calculated as radians.

calculates the sun position for a given date and latitude/longitude