Applying sind/cosd/atan2d macros across the board (#518)
This commit is contained in:
parent
40da624fe7
commit
2455408432
47 changed files with 3431 additions and 3414 deletions
|
|
@ -5,12 +5,13 @@
|
|||
#include "game/objsub.h"
|
||||
#include "game/object.h"
|
||||
|
||||
#include "ext_math.h"
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
#define US_PER_60TH_SEC (1000000.0f / 60.0f)
|
||||
#define US_TO_60TH_SEC(us) ((us) / US_PER_60TH_SEC)
|
||||
#define FB_SIZE(width, height) width * height * 2
|
||||
#define ABS(x) ((x) < 0 ? -(x) : (x))
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
||||
|
|
@ -44,4 +45,4 @@ omObjFunc2 fn_1_F9C;
|
|||
|
||||
#endif
|
||||
|
||||
// -------------------------------------------------------------------------- //
|
||||
// -------------------------------------------------------------------------- //
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue