mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-24 21:35:21 +02:00
Refactor meshgen-related code
This commit is contained in:
@@ -27,7 +27,7 @@ struct LightInfo {
|
||||
float light_night;
|
||||
float light_boosted;
|
||||
|
||||
LightPair getPair(float sunlight_boost = 0.0) const
|
||||
LightPair getPair(float sunlight_boost = 0.0f) const
|
||||
{
|
||||
return LightPair(
|
||||
(1 - sunlight_boost) * light_day
|
||||
|
||||
Reference in New Issue
Block a user