mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00: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:
parent
3077afc0a2
commit
560627eef8
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue