Gets the position of the sun in equatorial coordinates at the given date.
Note: the geographic position of the sun is the location on earth where the sun is at the zenith.
Optional
date: DateThe date to compute the geographic position. If unspecified, the current date is used.
Optional
target: CoordinatesThe geographic position of the sun at the given date.
Returns the local position of the sun, given the zenith and azimuth.
The azimuth of the sun, in degrees, in horizontal coordinates
Optional
distance?: numberThe distance of the sun to the local point.
Optional
point?: Vector3The local point.
The zenith of the sun, in degrees, in horizontal coordinates.
Note: the value is clamped to the [0°, 90°] range.
Optional
target: Vector3
Utility functions related to the position of the sun.