summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-10 01:36:18 +0200
committerSergeanur <s.anureev@yandex.ua>2021-05-10 01:36:18 +0200
commit1817727a66a8834b8291957ca8178ee36e7544a2 (patch)
tree14548891f4019e4f6a7738d85cf621b094cd9dba /src/core
parentupdate librw (diff)
downloadre3-1817727a66a8834b8291957ca8178ee36e7544a2.tar
re3-1817727a66a8834b8291957ca8178ee36e7544a2.tar.gz
re3-1817727a66a8834b8291957ca8178ee36e7544a2.tar.bz2
re3-1817727a66a8834b8291957ca8178ee36e7544a2.tar.lz
re3-1817727a66a8834b8291957ca8178ee36e7544a2.tar.xz
re3-1817727a66a8834b8291957ca8178ee36e7544a2.tar.zst
re3-1817727a66a8834b8291957ca8178ee36e7544a2.zip
Diffstat (limited to 'src/core')
-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);