![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Common macros that Goddard used throughout the Mario Head subsytem code. More...
Go to the source code of this file.
Macros | |
| #define | DEG_PER_RAD 57.29577950560105 |
| #define | RAD_PER_DEG (1.0 / DEG_PER_RAD) |
| #define | ABS(val) (((val) < 0 ? (-(val)) : (val))) |
| #define | SQ(val) ((val) * (val)) |
| #define | ALIGN(VAL_, ALIGNMENT_) (((VAL_) + ((ALIGNMENT_) - 1)) & ~((ALIGNMENT_) - 1)) |
Common macros that Goddard used throughout the Mario Head subsytem code.
| #define ABS | ( | val | ) | (((val) < 0 ? (-(val)) : (val))) |
| #define ALIGN | ( | VAL_, | |
| ALIGNMENT_ | |||
| ) | (((VAL_) + ((ALIGNMENT_) - 1)) & ~((ALIGNMENT_) - 1)) |
| #define DEG_PER_RAD 57.29577950560105 |
| #define RAD_PER_DEG (1.0 / DEG_PER_RAD) |
| #define SQ | ( | val | ) | ((val) * (val)) |
1.8.13