GLM_GTC_reciprocal
GTC Extensions (Stable)

Functions

template<typename genType >
genType acot (genType const &x)

template<typename genType >
genType acoth (genType const &x)

template<typename genType >
genType acsc (genType const &x)

template<typename genType >
genType acsch (genType const &x)

template<typename genType >
genType asec (genType const &x)

template<typename genType >
genType asech (genType const &x)

template<typename genType >
genType cot (genType const &angle)

template<typename genType >
genType coth (genType const &angle)

template<typename genType >
genType csc (genType const &angle)

template<typename genType >
genType csch (genType const &angle)

template<typename genType >
genType sec (genType const &angle)

template<typename genType >
genType sech (genType const &angle)

Detailed Description

Define secant, cosecant and cotangent functions.

<glm/gtc/reciprocal.hpp> need to be included to use these features.

Function Documentation

 genType glm::acot ( genType const & x )

Inverse cotangent function.

GLM_GTC_reciprocal
 genType glm::acoth ( genType const & x )

Inverse cotangent hyperbolic function.

GLM_GTC_reciprocal
 genType glm::acsc ( genType const & x )

Inverse cosecant function.

GLM_GTC_reciprocal
 genType glm::acsch ( genType const & x )

Inverse cosecant hyperbolic function.

GLM_GTC_reciprocal
 genType glm::asec ( genType const & x )

Inverse secant function.

GLM_GTC_reciprocal
 genType glm::asech ( genType const & x )

Inverse secant hyperbolic function.

GLM_GTC_reciprocal
 genType glm::cot ( genType const & angle )

Cotangent function.

adjacent / opposite or 1 / tan(x)

GLM_GTC_reciprocal
 genType glm::coth ( genType const & angle )

Cotangent hyperbolic function.

GLM_GTC_reciprocal
 genType glm::csc ( genType const & angle )

Cosecant function.

hypotenuse / opposite or 1 / sin(x)

GLM_GTC_reciprocal
 genType glm::csch ( genType const & angle )

Cosecant hyperbolic function.

GLM_GTC_reciprocal
 genType glm::sec ( genType const & angle )

Secant function.

hypotenuse / adjacent or 1 / cos(x)