Support functions for mathematical operations. More...
#include <cmath>
Go to the source code of this file.
Classes | |
class | FWMath |
Support functions for mathematical operations. More... | |
Defines | |
#define | M_PI 3.14159265358979323846 |
Windows math.h doesn't define the PI variable so we have to do it by hand. | |
#define | M_SQRT2 1.41421356237309504880 |
Windows math.h doesn't define sqrt(2) so we have to do it by hand. | |
#define | EPSILON 0.00001 |
Constant for comparing doubles. Two doubles at most epsilon apart are declared equal. |
Support functions for mathematical operations.
Definition in file FWMath.h.