glm::core::func_trigonometric Namespace Reference

Angle and trigonometry functions (Section 8.1 of GLSL 1.20.8 specification). More...


Functions

template<typename T>
detail::_xvec4< T > acos (const detail::_xvec4< T > &x)
 Arc cosine. Returns an angle whose sine is x. The range of values returned by this function is [0, PI]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > acos (const detail::_xvec3< T > &x)
 Arc cosine. Returns an angle whose sine is x. The range of values returned by this function is [0, PI]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > acos (const detail::_xvec2< T > &x)
 Arc cosine. Returns an angle whose sine is x. The range of values returned by this function is [0, PI]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
acos (T x)
 Arc cosine. Returns an angle whose sine is x. The range of values returned by this function is [0, PI]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > asin (const detail::_xvec4< T > &x)
 Arc sine. Returns an angle whose sine is x. The range of values returned by this function is [-PI/2, PI/2]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > asin (const detail::_xvec3< T > &x)
 Arc sine. Returns an angle whose sine is x. The range of values returned by this function is [-PI/2, PI/2]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > asin (const detail::_xvec2< T > &x)
 Arc sine. Returns an angle whose sine is x. The range of values returned by this function is [-PI/2, PI/2]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
asin (T x)
 Arc sine. Returns an angle whose sine is x. The range of values returned by this function is [-PI/2, PI/2]. Results are undefined if |x| > 1. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > atan (const detail::_xvec4< T > &y_over_x)
 Arc tangent. Returns an angle whose tangent is y_over_x. The range of values returned by this function is [-PI/2, PI/2]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > atan (const detail::_xvec3< T > &y_over_x)
 Arc tangent. Returns an angle whose tangent is y_over_x. The range of values returned by this function is [-PI/2, PI/2]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > atan (const detail::_xvec2< T > &y_over_x)
 Arc tangent. Returns an angle whose tangent is y_over_x. The range of values returned by this function is [-PI/2, PI/2]. (From GLSL 1.10.59 specification).
template<typename T>
atan (T y_over_x)
 Arc tangent. Returns an angle whose tangent is y_over_x. The range of values returned by this function is [-PI/2, PI/2]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > atan (const detail::_xvec4< T > &y, const detail::_xvec4< T > &x)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > atan (const detail::_xvec3< T > &y, const detail::_xvec3< T > &x)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > atan (const detail::_xvec2< T > &y, const detail::_xvec2< T > &x)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLSL 1.10.59 specification).
template<typename T>
atan (T y, T x)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > cos (const detail::_xvec4< T > &angle)
 The standard trigonometric cosine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > cos (const detail::_xvec3< T > &angle)
 The standard trigonometric cosine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > cos (const detail::_xvec2< T > &angle)
 The standard trigonometric cosine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
cos (T angle)
 The standard trigonometric cosine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > degrees (const detail::_xvec4< T > &radians)
 Converts radians to degrees and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > degrees (const detail::_xvec3< T > &radians)
 Converts radians to degrees and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > degrees (const detail::_xvec2< T > &radians)
 Converts radians to degrees and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
degrees (T radians)
 Converts radians to degrees and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > radians (const detail::_xvec4< T > &degrees)
 Converts degrees to radians and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > radians (const detail::_xvec3< T > &degrees)
 Converts degrees to radians and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > radians (const detail::_xvec2< T > &degrees)
 Converts degrees to radians and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
radians (T degrees)
 Converts degrees to radians and returns the result. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > sin (const detail::_xvec4< T > &angle)
 The standard trigonometric sine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > sin (const detail::_xvec3< T > &angle)
 The standard trigonometric sine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > sin (const detail::_xvec2< T > &angle)
 The standard trigonometric sine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
sin (T angle)
 The standard trigonometric sine function. The values returned by this function will range from [-1, 1]. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec4< T > tan (const detail::_xvec4< T > &angle)
 The standard trigonometric tangent function. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec3< T > tan (const detail::_xvec3< T > &angle)
 The standard trigonometric tangent function. (From GLSL 1.10.59 specification).
template<typename T>
detail::_xvec2< T > tan (const detail::_xvec2< T > &angle)
 The standard trigonometric tangent function. (From GLSL 1.10.59 specification).
template<typename T>
tan (T angle)
 The standard trigonometric tangent function. (From GLSL 1.10.59 specification).


Detailed Description

Angle and trigonometry functions (Section 8.1 of GLSL 1.20.8 specification).

Generated on Sat Aug 9 15:48:37 2008 for OpenGL Mathematics by  doxygen 1.5.5