|
srp
software rendering pipeline
|
#include <math.h>

Go to the source code of this file.
Macros | |
| #define | _USE_MATH_DEFINES |
| #define | M_PI 3.14159265358979323846 |
| #define | MIN(a, b) ( (a) > (b) ? (b) : (a) ) |
| #define | MAX(a, b) ( (a) > (b) ? (a) : (b) ) |
| #define | CLAMP(min, max, value) |
| #define | FRACTIONAL(x) ( (x) - floor(x) ) |
Utility macros related to mathematics