summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-01-20 22:21:51 +0100
committerSergeanur <s.anureev@yandex.ua>2020-01-20 22:21:51 +0100
commit7857590990c32e05a83bbf1e70e10d6d9a8341b8 (patch)
treea3407b8b1697a5527e2f435d1437c2fd5b9f92ff /src
parentdisable cullzone writer (diff)
downloadre3-7857590990c32e05a83bbf1e70e10d6d9a8341b8.tar
re3-7857590990c32e05a83bbf1e70e10d6d9a8341b8.tar.gz
re3-7857590990c32e05a83bbf1e70e10d6d9a8341b8.tar.bz2
re3-7857590990c32e05a83bbf1e70e10d6d9a8341b8.tar.lz
re3-7857590990c32e05a83bbf1e70e10d6d9a8341b8.tar.xz
re3-7857590990c32e05a83bbf1e70e10d6d9a8341b8.tar.zst
re3-7857590990c32e05a83bbf1e70e10d6d9a8341b8.zip
Diffstat (limited to '')
-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 4662b508..cdf31f7b 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -679,7 +679,7 @@ CFileLoader::LoadMLOInstance(int id, const char *line)
&scale.x, &scale.y, &scale.z,
&rot.x, &rot.y, &rot.z,
&angle);
- float rad = 2.0f * (PI / 2.0f - atan2(angle, sqrt(1.0f - SQR(angle))));
+ float rad = 2.0f * (PI / 2.0f - Atan2(angle, Sqrt(1.0f - SQR(angle))));
CInstance *inst = CModelInfo::GetMloInstanceStore()->alloc();
minfo->lastInstance++;