Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
src
goddard
gd_macros.h
Go to the documentation of this file.
1
#ifndef GD_COMMON_MACROS_H
2
#define GD_COMMON_MACROS_H
3
10
#define DEG_PER_RAD 57.29577950560105
11
#define RAD_PER_DEG (1.0 / DEG_PER_RAD)
12
13
#define ABS(val) (((val) < 0 ? (-(val)) : (val)))
14
#define SQ(val) ((val) * (val))
15
#define ALIGN(VAL_, ALIGNMENT_) (((VAL_) + ((ALIGNMENT_) - 1)) & ~((ALIGNMENT_) - 1))
16
17
#endif
/* GD_COMMON_MACROS_H */
Generated by
1.8.13