summaryrefslogtreecommitdiff
path: root/test/test-environment.cpp
Commit message (Collapse)AuthorAge
* Update getSunPos to use a standard time_tDan Goodliffe2024-09-19
|
* Add new mathematical constants to libDan Goodliffe2024-09-19
|
* Initial commit of code for calculating sun positionDan Goodliffe2024-09-18
Given the longitude and latitude, and a time into 2024, calculate the relative sun position suitable for providing lighting angles. Based on code from https://www.psa.es/ Loosely checked against https://www.pveducation.org/ and its close, working on faith really, but the numbers look plausible. Could do with a tidy up!