glm::gtx::compatibility Namespace Reference

GLM_GTX_compatibility extension: Provide functions to increase the compatibility with Cg and HLSL languages. More...


Typedefs

typedef bool bool1
 boolean type with 1 component. (From GLM_GTX_compatibility extension)
typedef detail::_bvec2 bool2
 boolean type with 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_bvec3 bool3
 boolean type with 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_bvec4 bool4
 boolean type with 4 components. (From GLM_GTX_compatibility extension)
typedef double double1
 double-precision floating-point vector with 1 component. (From GLM_GTX_compatibility extension)
typedef double double1x1
 double-precision floating-point matrix with 1 component. (From GLM_GTX_compatibility extension)
typedef detail::_xvec2< double > double2
 double-precision floating-point vector with 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2< double > double2x2
 double-precision floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2x3< double > double2x3
 double-precision floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2x4< double > double2x4
 double-precision floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xvec3< double > double3
 double-precision floating-point vector with 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3x2< double > double3x2
 double-precision floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3< double > double3x3
 double-precision floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3x4< double > double3x4
 double-precision floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xvec4< double > double4
 double-precision floating-point vector with 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4x2< double > double4x2
 double-precision floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4x3< double > double4x3
 double-precision floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4< double > double4x4
 double-precision floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
typedef float float1
 single-precision floating-point vector with 1 component. (From GLM_GTX_compatibility extension)
typedef float float1x1
 single-precision floating-point matrix with 1 component. (From GLM_GTX_compatibility extension)
typedef detail::_xvec2< float > float2
 single-precision floating-point vector with 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2< float > float2x2
 single-precision floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2x3< float > float2x3
 single-precision floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2x4< float > float2x4
 single-precision floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xvec3< float > float3
 single-precision floating-point vector with 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3x2< float > float3x2
 single-precision floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3< float > float3x3
 single-precision floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3x4< float > float3x4
 single-precision floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xvec4< float > float4
 single-precision floating-point vector with 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4x2< float > float4x2
 single-precision floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4x3< float > float4x3
 single-precision floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4< float > float4x4
 single-precision floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
typedef int int1
 integer vector with 1 component. (From GLM_GTX_compatibility extension)
typedef int int1x1
 integer matrix with 1 component. (From GLM_GTX_compatibility extension)
typedef detail::_xvec2< int > int2
 integer vector with 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2< int > int2x2
 integer matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2x3< int > int2x3
 integer matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat2x4< int > int2x4
 integer matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xvec3< int > int3
 integer vector with 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3x2< int > int3x2
 integer matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3< int > int3x3
 integer matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat3x4< int > int3x4
 integer matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xvec4< int > int4
 integer vector with 4 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4x2< int > int4x2
 integer matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4x3< int > int4x3
 integer matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
typedef detail::_xmat4< int > int4x4
 integer matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)

Functions

template<typename T>
detail::_xvec4< T > atan2 (const detail::_xvec4< T > &x, const detail::_xvec4< T > &y)
 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 GLM_GTX_compatibility).
template<typename T>
detail::_xvec3< T > atan2 (const detail::_xvec3< T > &x, const detail::_xvec3< T > &y)
 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 GLM_GTX_compatibility).
template<typename T>
detail::_xvec2< T > atan2 (const detail::_xvec2< T > &x, const detail::_xvec2< T > &y)
 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 GLM_GTX_compatibility).
template<typename T>
atan2 (T x, T y)
 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 GLM_GTX_compatibility).
template<typename T>
detail::_bvec4 isfinite (const detail::_xvec4< T > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility).
template<typename T>
detail::_bvec3 isfinite (const detail::_xvec3< T > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility).
template<typename T>
detail::_bvec2 isfinite (const detail::_xvec2< T > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility).
template<typename T>
bool isfinite (T x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility).
template<typename T>
detail::_bvec4 isinf (const detail::_xvec4< T > &x)
 Determines whether the given floating-point value is infinite. (From GLM_GTX_compatibility extension).
template<typename T>
detail::_bvec3 isinf (const detail::_xvec3< T > &x)
 Determines whether the given floating-point value is infinite. (From GLM_GTX_compatibility extension).
template<typename T>
detail::_bvec2 isinf (const detail::_xvec2< T > &x)
 Determines whether the given floating-point value is infinite. (From GLM_GTX_compatibility extension).
template<typename T>
bool isinf (T x)
 Determines whether the given floating-point value is infinite. (From GLM_GTX_compatibility extension).
template<typename T>
detail::_bvec4 isnan (const detail::_xvec4< T > &x)
 Checks given floating-point value for not a number (NAN) (From GLM_GTX_compatibility extension).
template<typename T>
detail::_bvec3 isnan (const detail::_xvec3< T > &x)
 Checks given floating-point value for not a number (NAN) (From GLM_GTX_compatibility extension).
template<typename T>
detail::_bvec2 isnan (const detail::_xvec2< T > &x)
 Checks given floating-point value for not a number (NAN) (From GLM_GTX_compatibility extension).
template<typename T>
bool isnan (T x)
 Checks given floating-point value for not a number (NAN) (From GLM_GTX_compatibility extension).
template<typename T>
detail::_xvec4< T > lerp (const detail::_xvec4< T > &x, const detail::_xvec4< T > &y, const detail::_xvec4< T > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec3< T > lerp (const detail::_xvec3< T > &x, const detail::_xvec3< T > &y, const detail::_xvec3< T > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec2< T > lerp (const detail::_xvec2< T > &x, const detail::_xvec2< T > &y, const detail::_xvec2< T > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec4< T > lerp (const detail::_xvec4< T > &x, const detail::_xvec4< T > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec3< T > lerp (const detail::_xvec3< T > &x, const detail::_xvec3< T > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec2< T > lerp (const detail::_xvec2< T > &x, const detail::_xvec2< T > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility).
template<typename T>
lerp (T x, T y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec4< T > saturate (const detail::_xvec4< T > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec3< T > saturate (const detail::_xvec3< T > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility).
template<typename T>
detail::_xvec2< T > saturate (const detail::_xvec2< T > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility).
template<typename T>
saturate (T x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility).


Detailed Description

GLM_GTX_compatibility extension: Provide functions to increase the compatibility with Cg and HLSL languages.

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