Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)
Header: | #include <UnigineMathLib.h> |
Name | Description |
---|---|
Consts::EPS | The epsilon constant (1e-6f). |
Consts::INF | The infinity constant (1e+9f). |
Consts::LOG10 | The log10 constant (2.302585093f). |
Consts::LOG2 | The log2 constant (0.693147181f). |
Consts::PI | The pi constant (3.141592654f). |
Consts::PI05 | The pi /2 constant (1.570796327f). |
Consts::PI2 | The pi *2 constant (6.283185308f). |
Consts::DEG2RAD | The degree to radian constant (PI /180.0f). |
Consts::RAD2DEG | The radian to degree constant (180.0f/PI). |
Consts::SQRT2 | The square root of two constant (1.414213562f). |
Consts::GOLDEN_RATIO | The golden ratio constant (1.618033989f). |
Consts::EPS_D | The double epsilon constant (1e-6f). |
Consts::DEG2RAD_D | The double degree to radian constant (PI /180.0f). |
Consts::RAD2DEG_D | The double radian to degree constant (180.0f/PI). |
Consts::IPI2_D | The double 1 / (pi * 2) constant (6.283185308f). |
Consts::PI_D | The double pi constant (3.141592654f). |
Consts::PI05_D | The double pi /2 constant (1.570796327f). |