1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 17:35:37 +02:00

Reuse seed when updating stars

The only currently relevant parameter is scale which can now be changed
without resetting stars position
This commit is contained in:
numzero
2020-11-22 16:41:36 +03:00
committed by lhofhansl
parent 3077afc0a2
commit 560627eef8
2 changed files with 6 additions and 3 deletions

View File

@@ -179,6 +179,7 @@ private:
bool m_default_tint = true;
u64 m_seed = 0;
irr_ptr<scene::SMeshBuffer> m_stars;
video::ITexture *m_sun_texture;