mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Value copy / allocation optimizations mostly in server, SAO and serialize code
This commit is contained in:
parent
2fd5f38c45
commit
471e567657
16 changed files with 52 additions and 64 deletions
|
@ -907,9 +907,9 @@ void Sky::setStarCount(u16 star_count, bool force_update)
|
|||
}
|
||||
}
|
||||
|
||||
void Sky::setSkyColors(const SkyboxParams sky)
|
||||
void Sky::setSkyColors(const SkyColor &sky_color)
|
||||
{
|
||||
m_sky_params.sky_color = sky.sky_color;
|
||||
m_sky_params.sky_color = sky_color;
|
||||
}
|
||||
|
||||
void Sky::setHorizonTint(video::SColor sun_tint, video::SColor moon_tint,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue