mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 06:35:21 +01:00
9c1a6445aa
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.