compatibility.hpp File Reference

Go to the source code of this file.

## Typedefs

typedef bool | bool1
typedef bool | bool1x1
typedef tvec2< bool, highp > | bool2
typedef tmat2x2< bool, highp > | bool2x2
typedef tmat2x3< bool, highp > | bool2x3
typedef tmat2x4< bool, highp > | bool2x4
typedef tvec3< bool, highp > | bool3
typedef tmat3x2< bool, highp > | bool3x2
typedef tmat3x3< bool, highp > | bool3x3
typedef tmat3x4< bool, highp > | bool3x4
typedef tvec4< bool, highp > | bool4
typedef tmat4x2< bool, highp > | bool4x2
typedef tmat4x3< bool, highp > | bool4x3
typedef tmat4x4< bool, highp > | bool4x4
typedef double | double1
typedef double | double1x1
typedef tvec2< double, highp > | double2
typedef tmat2x2< double, highp > | double2x2
typedef tmat2x3< double, highp > | double2x3
typedef tmat2x4< double, highp > | double2x4
typedef tvec3< double, highp > | double3
typedef tmat3x2< double, highp > | double3x2
typedef tmat3x3< double, highp > | double3x3
typedef tmat3x4< double, highp > | double3x4
typedef tvec4< double, highp > | double4
typedef tmat4x2< double, highp > | double4x2
typedef tmat4x3< double, highp > | double4x3
typedef tmat4x4< double, highp > | double4x4
typedef float | float1
typedef float | float1x1
typedef tvec2< float, highp > | float2
typedef tmat2x2< float, highp > | float2x2
typedef tmat2x3< float, highp > | float2x3
typedef tmat2x4< float, highp > | float2x4
typedef tvec3< float, highp > | float3
typedef tmat3x2< float, highp > | float3x2
typedef tmat3x3< float, highp > | float3x3
typedef tmat3x4< float, highp > | float3x4
typedef tvec4< float, highp > | float4
typedef tmat4x2< float, highp > | float4x2
typedef tmat4x3< float, highp > | float4x3
typedef tmat4x4< float, highp > | float4x4
typedef int | int1
typedef int | int1x1
typedef tvec2< int, highp > | int2
typedef tmat2x2< int, highp > | int2x2
typedef tmat2x3< int, highp > | int2x3
typedef tmat2x4< int, highp > | int2x4
typedef tvec3< int, highp > | int3
typedef tmat3x2< int, highp > | int3x2
typedef tmat3x3< int, highp > | int3x3
typedef tmat3x4< int, highp > | int3x4
typedef tvec4< int, highp > | int4
typedef tmat4x2< int, highp > | int4x2
typedef tmat4x3< int, highp > | int4x3
typedef tmat4x4< int, highp > | int4x4

## Functions

template<typename T , precision P>
GLM_FUNC_QUALIFIER T | atan2 (T x, T y)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec2< T, P > | atan2 (const tvec2< T, P > &x, const tvec2< T, P > &y)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec3< T, P > | atan2 (const tvec3< T, P > &x, const tvec3< T, P > &y)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec4< T, P > | atan2 (const tvec4< T, P > &x, const tvec4< T, P > &y)
template<typename genType >
GLM_FUNC_DECL bool | isfinite (genType const &x)
template<typename T , precision P>
GLM_FUNC_DECL tvec1< bool, P > | isfinite (const tvec1< T, P > &x)
template<typename T , precision P>
GLM_FUNC_DECL tvec2< bool, P > | isfinite (const tvec2< T, P > &x)
template<typename T , precision P>
GLM_FUNC_DECL tvec3< bool, P > | isfinite (const tvec3< T, P > &x)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | isfinite (const tvec4< T, P > &x)
template<typename T >
GLM_FUNC_QUALIFIER T | lerp (T x, T y, T a)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec2< T, P > | lerp (const tvec2< T, P > &x, const tvec2< T, P > &y, T a)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec3< T, P > | lerp (const tvec3< T, P > &x, const tvec3< T, P > &y, T a)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec4< T, P > | lerp (const tvec4< T, P > &x, const tvec4< T, P > &y, T a)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec2< T, P > | lerp (const tvec2< T, P > &x, const tvec2< T, P > &y, const tvec2< T, P > &a)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec3< T, P > | lerp (const tvec3< T, P > &x, const tvec3< T, P > &y, const tvec3< T, P > &a)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec4< T, P > | lerp (const tvec4< T, P > &x, const tvec4< T, P > &y, const tvec4< T, P > &a)
template<typename T , precision P>
GLM_FUNC_QUALIFIER T | saturate (T x)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec2< T, P > | saturate (const tvec2< T, P > &x)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec3< T, P > | saturate (const tvec3< T, P > &x)
template<typename T , precision P>
GLM_FUNC_QUALIFIER tvec4< T, P > | saturate (const tvec4< T, P > &x)

## Detailed Description

OpenGL Mathematics (glm.g-truc.net)

Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Restrictions: By making use of the Software for military purposes, you choose to make a Bunny unhappy.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

GLM_GTX_compatibility

Date
  2007-01-24 / 2011-06-07

Author
  Christophe Riccio

See also
  GLM Core (dependence)
  gtc_half_float (dependence)

Definition in file compatibility.hpp.