Predefined Constants
Header: | #include <UnigineMathLib.h> |
The list of predefined constants.
Predefined Constants Class
Members
float UNIGINE_DEG2RAD
Description
The degree to radian constant (UNIGINE_PI/180.0f).float UNIGINE_EPSILON
Description
The epsilon constant (1e-6f).float UNIGINE_INFINITY
Description
The infinity constant (1e+9f).float UNIGINE_LOG10
Description
The log10 constant (2.302585093f).float UNIGINE_LOG2
Description
The log2 constant (0.693147181f).float UNIGINE_PI
Description
The pi constant (3.141592654f).float UNIGINE_PI05
Description
The pi/2 constant (1.570796327f).float UNIGINE_PI2
Description
The pi*2 constant (6.283185308f).float UNIGINE_RAD2DEG
Description
The radian to degree constant (180.0f/UNIGINE_PI).float UNIGINE_SQRT2
Description
The square root of two constant (1.414213562f).Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)