diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-10 02:36:18 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-05-10 02:36:18 +0300 |
commit | 1817727a66a8834b8291957ca8178ee36e7544a2 (patch) | |
tree | 14548891f4019e4f6a7738d85cf621b094cd9dba | |
parent | ceb22d71dd3243e80144b3a956ae371409dda90d (diff) |
Small Acos fix
-rw-r--r-- | src/core/FileLoader.cpp | 2 |
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); |