summaryrefslogtreecommitdiffstats
path: root/src/render/Clouds.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-10 17:34:11 +0200
committeraap <aap@papnet.eu>2019-07-10 17:34:11 +0200
commit90e093cd47fb2af10617b1d404fc65ca813782ec (patch)
treef77fde407d8458529f688d3cb14c2ff003573fb0 /src/render/Clouds.cpp
parentadded wrappers around math functions (diff)
downloadre3-90e093cd47fb2af10617b1d404fc65ca813782ec.tar
re3-90e093cd47fb2af10617b1d404fc65ca813782ec.tar.gz
re3-90e093cd47fb2af10617b1d404fc65ca813782ec.tar.bz2
re3-90e093cd47fb2af10617b1d404fc65ca813782ec.tar.lz
re3-90e093cd47fb2af10617b1d404fc65ca813782ec.tar.xz
re3-90e093cd47fb2af10617b1d404fc65ca813782ec.tar.zst
re3-90e093cd47fb2af10617b1d404fc65ca813782ec.zip
Diffstat (limited to 'src/render/Clouds.cpp')
-rw-r--r--src/render/Clouds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Clouds.cpp b/src/render/Clouds.cpp
index 2ead715b..2884894c 100644
--- a/src/render/Clouds.cpp
+++ b/src/render/Clouds.cpp
@@ -305,7 +305,7 @@ CClouds::RenderBackground(int16 topred, int16 topgreen, int16 topblue,
float c = Sqrt(mat->right.x * mat->right.x + mat->right.y * mat->right.y);
if(c > 1.0f)
c = 1.0f;
- ms_cameraRoll = acos(c);
+ ms_cameraRoll = Acos(c);
if(mat->right.z < 0.0f)
ms_cameraRoll = -ms_cameraRoll;