mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Fixed gcc warnings.
This commit is contained in:
parent
1b42572f99
commit
072ac13120
1 changed files with 2 additions and 2 deletions
|
@ -29,10 +29,10 @@ namespace model {
|
|||
-(float)log(p_005) / hazeRange_m.z);
|
||||
}
|
||||
|
||||
inline float convertHazeRangeToHazeRangeFactor(const float hazeRange_m) { return (float)(-log(p_005) / hazeRange_m); }
|
||||
inline float convertHazeRangeToHazeRangeFactor(const float hazeRange_m) { return (-(float)log(p_005) / hazeRange_m); }
|
||||
|
||||
inline float convertHazeAltitudeToHazeAltitudeFactor(const float hazeAltitude_m) {
|
||||
return (float)(-log(p_005) / hazeAltitude_m);
|
||||
return (-(float)log(p_005) / hazeAltitude_m);
|
||||
}
|
||||
|
||||
// Derivation (s is the proportion of sun blend, a is the angle at which the blend is 50%, solve for m = 0.5
|
||||
|
|
Loading…
Reference in a new issue