summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-10 02:36:18 +0300
committerSergeanur <s.anureev@yandex.ua>2021-05-10 02:36:18 +0300
commit1817727a66a8834b8291957ca8178ee36e7544a2 (patch)
tree14548891f4019e4f6a7738d85cf621b094cd9dba /src
parentceb22d71dd3243e80144b3a956ae371409dda90d (diff)
Small Acos fix
Diffstat (limited to 'src')
-rw-r--r--src/core/FileLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index bf017256..4ad53572 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -1206,7 +1206,7 @@ CFileLoader::LoadObjectInstance(const char *line)
if(!CStreaming::IsObjectInCdImage(id))
debug("Not in cdimage %s\n", mi->GetModelName());
- angle = -RADTODEG(2.0f * acosf(angle));
+ angle = -RADTODEG(2.0f * Acos(angle));
xform = RwMatrixCreate();
RwMatrixRotate(xform, &axis, angle, rwCOMBINEREPLACE);
RwMatrixTranslate(xform, &trans, rwCOMBINEPOSTCONCAT);