mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-08 18:13:02 -04:00
20 lines
263 B
C++
20 lines
263 B
C++
#ifndef J3DUD_H
|
|
#define J3DUD_H
|
|
|
|
#include <types.h>
|
|
#ifndef __MWERKS__
|
|
#include <math.h>
|
|
#endif
|
|
|
|
namespace J3DUD {
|
|
inline f32 JMAAbs(f32 x) {
|
|
#ifdef __MWERKS__
|
|
return __fabsf(x);
|
|
#else
|
|
return fabsf(x);
|
|
#endif
|
|
}
|
|
} // namespace J3DUD
|
|
|
|
#endif /* J3DUD_H */
|