Releases: Netherlands3D/Sun
Releases · Netherlands3D/Sun
Added event and property for animation state, fixed initial sun position.
Clamped max day value
Fixed max day clamp value for months that don't have 31 days when setting the date.
Set absolute animation speed
Added function to set timeSpeed with an absolute value
Increased the max speed to max 12 hours per second
Use DateTime source
- A DateTime object is now the main source of time instead of multiple ints.
- Added event to keep track of if the current time is used.
Origin calculation fix
Fixed calculation of origin coordinate, added function to recalculate origin and update position if the origin changes
Fixed timeOfDayChanged event sending wrong time
Fixed timeOfDayChanged event sending wrong time