FlukyEngine
Functions
GLM_GTX_fast_trigonometry

Include <glm/gtx/fast_trigonometry.hpp> to use the features of this extension. More...

Collaboration diagram for GLM_GTX_fast_trigonometry:

Functions

template<typename T >
GLM_FUNC_DECL T glm::wrapAngle (T angle)
 Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension. More...
 
template<typename T >
GLM_FUNC_DECL T glm::fastSin (T angle)
 Faster than the common sin function but less accurate. More...
 
template<typename T >
GLM_FUNC_DECL T glm::fastCos (T angle)
 Faster than the common cos function but less accurate. More...
 
template<typename T >
GLM_FUNC_DECL T glm::fastTan (T angle)
 Faster than the common tan function but less accurate. More...
 
template<typename T >
GLM_FUNC_DECL T glm::fastAsin (T angle)
 Faster than the common asin function but less accurate. More...
 
template<typename T >
GLM_FUNC_DECL T glm::fastAcos (T angle)
 Faster than the common acos function but less accurate. More...
 
template<typename T >
GLM_FUNC_DECL T glm::fastAtan (T y, T x)
 Faster than the common atan function but less accurate. More...
 
template<typename T >
GLM_FUNC_DECL T glm::fastAtan (T angle)
 Faster than the common atan function but less accurate. More...
 

Detailed Description

Include <glm/gtx/fast_trigonometry.hpp> to use the features of this extension.

Fast but less accurate implementations of trigonometric functions.

Function Documentation

◆ fastAcos()

template<typename T >
GLM_FUNC_DECL T glm::fastAcos ( angle)

Faster than the common acos function but less accurate.

Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.

◆ fastAsin()

template<typename T >
GLM_FUNC_DECL T glm::fastAsin ( angle)

Faster than the common asin function but less accurate.

Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.

◆ fastAtan() [1/2]

template<typename T >
GLM_FUNC_DECL T glm::fastAtan ( y,
x 
)

Faster than the common atan function but less accurate.

Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.

◆ fastAtan() [2/2]

template<typename T >
GLM_FUNC_DECL T glm::fastAtan ( angle)

Faster than the common atan function but less accurate.

Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.

◆ fastCos()

template<typename T >
GLM_FUNC_DECL T glm::fastCos ( angle)

Faster than the common cos function but less accurate.

From GLM_GTX_fast_trigonometry extension.

◆ fastSin()

template<typename T >
GLM_FUNC_DECL T glm::fastSin ( angle)

Faster than the common sin function but less accurate.

From GLM_GTX_fast_trigonometry extension.

◆ fastTan()

template<typename T >
GLM_FUNC_DECL T glm::fastTan ( angle)

Faster than the common tan function but less accurate.

Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.

◆ wrapAngle()

template<typename T >
GLM_FUNC_DECL T glm::wrapAngle ( angle)

Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension.