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

The list of predefined constants.

Predefined Constants Class

Members


float DEG2RAD

Description

The degree to radian constant (PI /180.0f).

float EPSILON

Description

The epsilon constant (1e-6f).

float INFINITY

Description

The infinity constant (1e+9f).

float LOG10

Description

The log10 constant (2.302585093f).

float LOG2

Description

The log2 constant (0.693147181f).

float PI

Description

The pi constant (3.141592654f).

float PI05

Description

The pi /2 constant (1.570796327f).

float PI2

Description

The pi *2 constant (6.283185308f).

float RAD2DEG

Description

The radian to degree constant (180.0f/PI).

float SQRT2

Description

The square root of two constant (1.414213562f).
Last update: 2018-08-10
Build: ()