This page has been translated automatically.
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

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-12-21
Build: ()