nCine/CommonConstants.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.

Variables

double Pi constexpr
3.1415... (double)
float fPi constexpr
3.1415...
float fPiOver2 constexpr
3.1415... / 2
float fPiOver3 constexpr
3.1415... / 3
float fPiOver4 constexpr
3.1415... / 4
float fPiOver6 constexpr
3.1415... / 6
float fTwoPi constexpr
3.1415... * 2
double DegToRad constexpr
Multiply to convert degrees to radians (double)
float fDegToRad constexpr
Multiply to convert degrees to radians.
double RadToDeg constexpr
Multiply to convert radians to degrees (double)
float fRadToDeg constexpr
Multiply to convert radians to degrees.
float fRadAngle1 constexpr
1 degree as radians
float fRadAngle30 constexpr
30 degrees as radians
float fRadAngle45 constexpr
45 degrees as radians
float fRadAngle90 constexpr
90 degrees as radians
float fRadAngle180 constexpr
180 degrees as radians
float fRadAngle270 constexpr
270 degrees as radians
float fRadAngle360 constexpr
360 degrees as radians