From 7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Thu, 23 Jul 2020 00:31:06 +0300 Subject: New math wrappers from miami --- src/core/General.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/General.h') diff --git a/src/core/General.h b/src/core/General.h index 7ffa99de..dde43c0f 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 -- cgit v1.2.3