New math wrappers

from miami
This commit is contained in:
eray orçunus committed 2020-07-23 00:31:06 +03:00
1 parent 98dd771d6c
commit 7e32c603fc
5 files changed
+11 -9

No files matched your search

+2
View File
@@ -15,3 +15,5 @@ inline float Sqrt(float x) { return sqrtf(x); }
inline float RecipSqrt(float x, float y) { return x/Sqrt(y); }
inline float RecipSqrt(float x) { return RecipSqrt(1.0f, x); }
inline float Pow(float x, float y) { return powf(x, y); }
inline float Floor(float x) { return floorf(x); }
inline float Ceil(float x) { return ceilf(x); }