diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-09-18 02:02:47 +0100 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2024-09-18 10:10:38 +0100 |
commit | c0c7203024c60f4ebb70958ee8727271ab4136fb (patch) | |
tree | 7d8d84caa10a25f60e9d9c952ea4390f8e1dd9df /gfx/camera_controller.h | |
parent | Don't create lots of unnecessary tmps (diff) | |
download | ilt-c0c7203024c60f4ebb70958ee8727271ab4136fb.tar.bz2 ilt-c0c7203024c60f4ebb70958ee8727271ab4136fb.tar.xz ilt-c0c7203024c60f4ebb70958ee8727271ab4136fb.zip |
Initial commit of code for calculating sun position
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!
Diffstat (limited to 'gfx/camera_controller.h')
0 files changed, 0 insertions, 0 deletions