star-cem

Compute the position of the sun
git clone git://git.meso-star.com/star-cem.git
Log | Files | Refs | README | LICENSE

commit 45bcb2655ff2701c11b4e91b75acff198a1c6d2c
parent 3657372cc801c4f0b30ea82fba4a06228bf1f332
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Wed, 10 Jun 2026 17:39:11 +0200

Improve API comments

Add that the output angles are in radians.

Diffstat:
Msrc/scem.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/scem.h b/src/scem.h @@ -73,10 +73,10 @@ scem_sun_algo_cstr(const enum scem_sun_algo algo) BEGIN_DECLS -/* Compute the position of the Sun in local coordinates (elevation and azimuth) for - * a given observer at the surface of the Earth (can be extended to other - * planets if required) i.e. the observer has to be located at the surface for - * the required date */ +/* Compute the position of the Sun in local coordinates (elevation and azimuth) + * in radians for a given observer at the surface of the Earth (can be extended + * to other * planets if required) i.e. the observer has to be located at the + * surface for the required date */ SCEM_API res_T scem_sun_position_from_earth (const struct tm* time, /* In UTC */