Files
Dan Aloni 7496e1b639 light: add SunDisk::MARS preset for Mars atmosphere (#24618)
In the atmosphere example we can change between Earth and Mars, but the
size of the sun does not change. This somewhat bothered me from an
astronomical accuarcy.

This commit introduces a new `SunDisk::MARS` constant to accurately
represent the sun’s apparent size when viewed from Mars. The
implementation updates the documentation and adds the corresponding
constant with an angular size of ~21 arcminutes (0.00615 radians).

Key modifications:

- Added `SunDisk::MARS` constant in `directional_light.rs`
- Updated documentation to reference the new Mars preset
- Modified `atmosphere` example to switch sun disk alongside atmosphere
presets

I tested this manually.

---------

Co-authored-by: Máté Homolya <mate.homolya@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2026-06-17 17:46:34 +00:00
..
2026-01-13 21:51:39 +00:00
2026-01-13 21:51:39 +00:00
2026-01-13 21:51:39 +00:00
2026-03-23 22:30:34 +00:00
2026-03-11 19:49:09 +00:00
2026-01-13 21:51:39 +00:00
2026-01-13 21:51:39 +00:00
2026-05-08 22:29:11 +00:00
2026-05-21 12:50:06 +00:00
2026-01-13 21:51:39 +00:00
2026-01-13 21:51:39 +00:00