0.9.8
Functions
GLM_GTC_reciprocal

Functions

template<typename genType >
GLM_FUNC_DECL genType acot (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acoth (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acsc (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acsch (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType asec (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType asech (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType cot (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType coth (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType csc (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType csch (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType sec (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType sech (genType angle)
 

Detailed Description

Define secant, cosecant and cotangent functions.

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

Function Documentation

GLM_FUNC_DECL genType glm::acot ( genType  x)

Inverse cotangent function.

Returns
Return an angle expressed in radians.
Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::acoth ( genType  x)

Inverse cotangent hyperbolic function.

Returns
Return an angle expressed in radians.
Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::acsc ( genType  x)

Inverse cosecant function.

Returns
Return an angle expressed in radians.
Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::acsch ( genType  x)

Inverse cosecant hyperbolic function.

Returns
Return an angle expressed in radians.
Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::asec ( genType  x)

Inverse secant function.

Returns
Return an angle expressed in radians.
Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::asech ( genType  x)

Inverse secant hyperbolic function.

Returns
Return an angle expressed in radians.
Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::cot ( genType  angle)

Cotangent function.

adjacent / opposite or 1 / tan(x)

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::coth ( genType  angle)

Cotangent hyperbolic function.

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::csc ( genType  angle)

Cosecant function.

hypotenuse / opposite or 1 / sin(x)

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::csch ( genType  angle)

Cosecant hyperbolic function.

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::sec ( genType  angle)

Secant function.

hypotenuse / adjacent or 1 / cos(x)

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal
GLM_FUNC_DECL genType glm::sech ( genType  angle)

Secant hyperbolic function.

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLM_GTC_reciprocal