summaryrefslogtreecommitdiffstats
path: root/src/core/General.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-21 04:59:31 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-22 14:19:22 +0200
commitf40f44b14e028c4bb2bee2e898c210e3f41b20bb (patch)
treef66810ab48dc09fd116db6d7e81822c6f760444f /src/core/General.h
parentfixed COcclusion (diff)
downloadre3-f40f44b14e028c4bb2bee2e898c210e3f41b20bb.tar
re3-f40f44b14e028c4bb2bee2e898c210e3f41b20bb.tar.gz
re3-f40f44b14e028c4bb2bee2e898c210e3f41b20bb.tar.bz2
re3-f40f44b14e028c4bb2bee2e898c210e3f41b20bb.tar.lz
re3-f40f44b14e028c4bb2bee2e898c210e3f41b20bb.tar.xz
re3-f40f44b14e028c4bb2bee2e898c210e3f41b20bb.tar.zst
re3-f40f44b14e028c4bb2bee2e898c210e3f41b20bb.zip
Diffstat (limited to 'src/core/General.h')
-rw-r--r--src/core/General.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/General.h b/src/core/General.h
index dbf169e9..7ab444a4 100644
--- a/src/core/General.h
+++ b/src/core/General.h
@@ -108,7 +108,7 @@ public:
if (angle >= TWOPI)
angle -= TWOPI;
- return (int)floorf(angle / DEGTORAD(45.0f));
+ return (int)Floor(angle / DEGTORAD(45.0f));
}
// Unlike usual string comparison functions, these don't care about greater or lesser