diff --git a/tempest/math/CMath.hpp b/tempest/math/CMath.hpp index 8fc85c4..97cd591 100644 --- a/tempest/math/CMath.hpp +++ b/tempest/math/CMath.hpp @@ -13,6 +13,10 @@ class CMath { static constexpr float OO_TWO_PI = 1.0f / TWO_PI; // Static functions + static int32_t fint(float n) { + return static_cast(n); + } + static uint32_t fuint(float n) { return static_cast(n); }