Fixed fog_falloff constructor

This commit is contained in:
Marc Garcia Puig 2020-06-04 16:35:54 +02:00
parent 45da3ae55e
commit cd49cbc3b2
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ namespace rpc {
float in_sun_altitude_angle, float in_sun_altitude_angle,
float in_fog_density, float in_fog_density,
float in_fog_distance, float in_fog_distance,
float in_fog_falloff,
float in_wetness) float in_wetness)
: cloudiness(in_cloudiness), : cloudiness(in_cloudiness),
precipitation(in_precipitation), precipitation(in_precipitation),
@ -59,6 +60,7 @@ namespace rpc {
sun_altitude_angle(in_sun_altitude_angle), sun_altitude_angle(in_sun_altitude_angle),
fog_density(in_fog_density), fog_density(in_fog_density),
fog_distance(in_fog_distance), fog_distance(in_fog_distance),
fog_falloff(in_fog_falloff),
wetness(in_wetness) {} wetness(in_wetness) {}
float cloudiness = 0.0f; float cloudiness = 0.0f;