Povstalec/StellarView

[BUG] High times on the game's clock cause celestial objects to jitter.

Opened this issue · 1 comments

I set the in-game clock to 17,721,480,000 (2023 in-game years), and due to floating point imprecision or something like that, the moon and stars are unable to move smoothly across the sky.

I have no clue why exactly this would be. If I were to hazard a guess, the rotation of the various layers of the skybox (?) takes the in-game timer and does math to it to determine degrees/radians/whatever, but rather than modulo'd into the bounds of 0 to 360/6.283/whatever, it is unbounded. As with many things however, I'm likely wrong.

Sounds like a float problem, I'll try to take a look at what's causing it