mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
Fixed gcc warning.
This commit is contained in:
parent
afa93f46e5
commit
3e228acdb6
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ namespace model {
|
|||
// log(m) = p * log(s)
|
||||
// p = log(m) / log(s)
|
||||
inline float convertDirectionalLightAngleToPower(const float directionalLightAngle) {
|
||||
return (float)(LOG_P_05 / log(cos(RADIANS_PER_DEGREE * directionalLightAngle)));
|
||||
return (float)((LOG_P_05 / log(cos(RADIANS_PER_DEGREE * directionalLightAngle))));
|
||||
}
|
||||
|
||||
const glm::vec3 initialHazeColor{ 0.5f, 0.6f, 0.7f };
|
||||
|
|
Loading…
Reference in a new issue