Fast but less accurate implementations of trigonometric functions. More...
Functions | |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastAcos (const T &angle) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastAsin (const T &angle) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastAtan (const T &y, const T &x) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastAtan (const T &angle) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastCos (const T &angle) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastSin (const T &angle) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastTan (const T &angle) |
Fast but less accurate implementations of trigonometric functions.
<glm/gtx/fast_trigonometry.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL T glm::fastAcos | ( | const T & | angle | ) |
Faster than the common acos function but less accurate. Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.
GLM_FUNC_DECL T glm::fastAsin | ( | const T & | angle | ) |
Faster than the common asin function but less accurate. Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.
GLM_FUNC_DECL T glm::fastAtan | ( | const T & | y, |
const T & | x | ||
) |
Faster than the common atan function but less accurate. Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.
GLM_FUNC_DECL T glm::fastAtan | ( | const T & | angle | ) |
Faster than the common atan function but less accurate. Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.
GLM_FUNC_DECL T glm::fastCos | ( | const T & | angle | ) |
Faster than the common cos function but less accurate. Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.
GLM_FUNC_DECL T glm::fastSin | ( | const T & | angle | ) |
Faster than the common sin function but less accurate. Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.
GLM_FUNC_DECL T glm::fastTan | ( | const T & | angle | ) |
Faster than the common tan function but less accurate. Defined between -2pi and 2pi. From GLM_GTX_fast_trigonometry extension.