FloatUtils.h File Reference
#include <math.h>
Include dependency graph for FloatUtils.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Defines |
#define | _USE_MATH_DEFINES |
Functions |
template<typename Type> |
Type | degToRad (Type x) |
template<typename Type> |
Type | radToDeg (Type x) |
template<typename Type> |
bool | floatEq (Type x, Type v, float EPSILON=0.0005f) |
| Test two floats for equality.
|
Define Documentation
#define _USE_MATH_DEFINES |
|
Function Documentation
template<typename Type> |
Type degToRad |
( |
Type |
x |
) |
[inline] |
|
template<typename Type> |
bool floatEq |
( |
Type |
x, |
|
|
Type |
v, |
|
|
float |
EPSILON = 0.0005f |
|
) |
[inline] |
|
|
Test two floats for equality.
|
template<typename Type> |
Type radToDeg |
( |
Type |
x |
) |
[inline] |
|
Generated on Mon Jan 23 19:44:38 2006 for Visualization by
1.4.6