Menge
Modular Pedestrian Simulation Framework for Research and Development
|
Some common mathematical constants. More...
Go to the source code of this file.
Namespaces | |
Menge | |
The core namespace. All elements of Menge are contained in this namespace. | |
Variables | |
MENGE_API const float | Menge::INFTY = 1e6f |
A convenient definition of infinity. | |
MENGE_API const float | Menge::PI = (float)(asin( 1.0f ) * 2.f) |
pi. | |
MENGE_API const float | Menge::TWOPI = PI * 2.f |
2 * pi. | |
MENGE_API const float | Menge::HALFPI = PI * 0.5f |
pi / 2. | |
MENGE_API const float | Menge::DEG_TO_RAD = PI / 180.0f |
Scale factor for converting degrees to radians. | |
MENGE_API const float | Menge::RAD_TO_DEG = 180.0f / PI |
Scale factor for converting radians to degrees. | |
MENGE_API const float | Menge::EPS = 0.00001f |
Suitably small number for testing for functional zero values. | |
Some common mathematical constants.