This page has been translated automatically.
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。
No language code for this page. You can select other language.
No language code for this page,
shown in other instead.
Predefined Constants
Header:
| #include <UnigineMathLib.h> |
Variables:
Name | Description |
---|
UNIGINE_DEG2RAD
| The degree to radian constant (UNIGINE_PI /180.0f). |
UNIGINE_EPSILON
| The epsilon constant (1e-6f). |
UNIGINE_INFINITY
| The infinity constant (1e+9f). |
UNIGINE_LOG10
| The log10 constant (2.302585093f). |
UNIGINE_LOG2
| The log2 constant (0.693147181f). |
UNIGINE_PI
| The pi constant (3.141592654f). |
UNIGINE_PI05
| The pi /2 constant (1.570796327f). |
UNIGINE_PI2
| The pi *2 constant (6.283185308f). |
UNIGINE_RAD2DEG
| The radian to degree constant (180.0f/UNIGINE_PI). |
UNIGINE_SQRT2 | The square root of two constant (1.414213562f). |
The list of predefined constants.
Predefined Constants Class
Last update:
2019-08-16