1
0
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:
sfan5
2025-06-23 12:30:44 +02:00
parent 0ea89d4112
commit 6545710c8e
6 changed files with 95 additions and 61 deletions

View File

@@ -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