18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-03 13:35:26 +01:00
Files
maszyna/environment
maj00r 9c1a6445aa feat(world): the sky over the camera on a curved body, the light of the sun in world space
Step 4 of docs/world-format-eu07.md, its second part. On a curved body the sun and the moon are worked out for the latitude and
longitude of the camera (sky.cameraplace, on by default, as settled in #516; off keeps 52 N 19 E). The sky and the weather take the
sun in the local axes at the camera; after them the direction of the sun light is turned into the axes of the world, which it shades
and casts its shadows in. The sun, the moon and the stars are drawn with the view turned to the local axes.

On the plane, the only body loaded today, nothing is turned or moved.
2026-12-03 04:43:25 +01:00
..