#include <Math.hpp>
Static Public Attributes | |
static const double | sm_PI = 3.14159265358979323846 |
PI number. | |
static const double | sm_RAD2DEG = 180.0 / sm_PI |
Used for radians to degrees conversion. | |
static const double | sm_DEG2RAD = sm_PI / 180.0 |
Used for degrees to radians conversion. | |
static const float | sm_EPSILON = 0.00001f |
Used to check equality between two numbers by taking in account rounding errors (small epsilon). | |
static const float | sm_BIGEPSILON = 0.1f |
Used to check equality between two numbers by taking in account rounding errors (big epsilon). | |
Private Member Functions | |
Math () | |
Private constructor which is only used to prevent the instanciation of the Math class. |
It contains only static constants and doesn't require to be instanciated (it CANNOT be instanciated).
syBR::Core::Math::Math | ( | ) | [private] |
Private constructor which is only used to prevent the instanciation of the Math class.
const double syBR::Core::Math::sm_PI = 3.14159265358979323846 [static] |
PI number.
const double syBR::Core::Math::sm_RAD2DEG = 180.0 / sm_PI [static] |
Used for radians to degrees conversion.
const double syBR::Core::Math::sm_DEG2RAD = sm_PI / 180.0 [static] |
Used for degrees to radians conversion.
const float syBR::Core::Math::sm_EPSILON = 0.00001f [static] |
Used to check equality between two numbers by taking in account rounding errors (small epsilon).
const float syBR::Core::Math::sm_BIGEPSILON = 0.1f [static] |
Used to check equality between two numbers by taking in account rounding errors (big epsilon).
Copyright © 2008 by Sebastien Frippiat
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:33 2008