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
Programming
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
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

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: 2018-08-10
Build: ()