mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Removing reliance on fmodf and fabsf CRT functions.
This commit is contained in:
10
src/math.cpp
10
src/math.cpp
@@ -22,11 +22,6 @@ namespace bx
|
||||
const float kHuge = HUGE_VALF;
|
||||
#endif // BX_COMPILER_MSVC
|
||||
|
||||
float fabs(float _a)
|
||||
{
|
||||
return ::fabsf(_a);
|
||||
}
|
||||
|
||||
float fsin(float _a)
|
||||
{
|
||||
return ::sinf(_a);
|
||||
@@ -82,11 +77,6 @@ namespace bx
|
||||
return ::ceilf(_f);
|
||||
}
|
||||
|
||||
float fmod(float _a, float _b)
|
||||
{
|
||||
return ::fmodf(_a, _b);
|
||||
}
|
||||
|
||||
void mtxLookAtImpl(float* _result, const float* _eye, const float* _view, const float* _up)
|
||||
{
|
||||
float up[3] = { 0.0f, 1.0f, 0.0f };
|
||||
|
||||
Reference in New Issue
Block a user