This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Программирование
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
API
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: 26.04.2018
Build: ()