mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-10 01:30:34 +00:00
New math wrappers
from miami
This commit is contained in:
parent
98dd771d6c
commit
7e32c603fc
5 changed files with 11 additions and 9 deletions
|
@ -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); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue