![]() |
#include <assert.h>
#include <math.h>
#include "Exceptions.hpp"
Include dependency graph for standard.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | ROUND(x) ((int)floor(x+0.5)) |
| Rounds x to the nearest whole number. | |
| #define | MAX(a, b) ((a) > (b)?(a):(b)) |
| #define | MIN(a, b) ((a) < (b)?(a):(b)) |
| #define | M_PI 3.14159265358979323846 |
| #define | CLAMP_MINMAX(_val, _min, _max) (_val>_max)?(_val=_max):((_val<_min)?(_val=_min):(_val)) |
| Clamp _val so that _min <= _val <= _max. | |
| #define | printWarning printf |
Author: Matt Loper
Definition in file standard.hpp.
1.3