Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DTrigonometry Class Reference

The U4DTrigonometry class provides trigonometrical computations such as degress to radius conversion. More...

Public Member Functions

 U4DTrigonometry ()
 Default constructor for the U4DTrigonometry class.
 
 ~U4DTrigonometry ()
 Default destructor for the U4DTrigonometry class.
 
float degreesToRad (float uAngle)
 Method which converts the given angle from degrees to radian. More...
 
float radToDegrees (float uAngle)
 Method which converts the given angle from radian to degrees. More...
 
double safeAcos (double x)
 

Detailed Description

The U4DTrigonometry class provides trigonometrical computations such as degress to radius conversion.

Member Function Documentation

◆ degreesToRad()

float U4DEngine::U4DTrigonometry::degreesToRad ( float  uAngle)

Method which converts the given angle from degrees to radian.

Parameters
uAngleAngle to convert
Returns
Returns the radian value of the given angle

◆ radToDegrees()

float U4DEngine::U4DTrigonometry::radToDegrees ( float  uAngle)

Method which converts the given angle from radian to degrees.

Parameters
uAngleAngle to convert
Returns
Returns the degree value fo the given angle