summaryrefslogtreecommitdiff
path: root/game/environment.h
Commit message (Collapse)AuthorAge
* Use std::chrono for worldTimeHEADmainDan Goodliffe2 days
| | | | | | Defines a world time type alias, a game time scale factor (the rate at which world time progresses compare to real time) and display the world time on the status bar.
* Improve calculations of the amount and colour of ambient and directional sun ↵Dan Goodliffe3 days
| | | | light
* Fix up the preFrame process to use both frustumsDan Goodliffe2026-02-18
| | | | | | (camera and directional light frustums) This has made the whole preFrame process far more fiddly and repetitive than I'd like, but it does work. Maybe we can tidy it up later.
* Move getSunPos to EnvironmentDan Goodliffe2024-09-20
|
* Add basic environment objectDan Goodliffe2024-09-20
Will hold world time/date, weather, location etc