mirror of
https://github.com/g-truc/glm.git
synced 2025-04-07 22:40:17 +00:00
Fixed missing types in fwd.hpp #804
This commit is contained in:
parent
c7822ff6ff
commit
329f0e46f1
41 changed files with 825 additions and 2825 deletions
|
@ -9,23 +9,15 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<2, 2, double, lowp> dmat2x2;
|
||||
typedef mat<2, 2, double, lowp> dmat2;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<2, 2, double, mediump> dmat2x2;
|
||||
typedef mat<2, 2, double, mediump> dmat2;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 2 columns of 2 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 2, double, highp> dmat2x2;
|
||||
typedef mat<2, 2, double, defaultp> dmat2x2;
|
||||
|
||||
/// 2 columns of 2 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 2, double, highp> dmat2;
|
||||
#endif
|
||||
typedef mat<2, 2, double, defaultp> dmat2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<2, 3, double, lowp> dmat2x3;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<2, 3, double, mediump> dmat2x3;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 2 columns of 3 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 3, double, highp> dmat2x3;
|
||||
#endif
|
||||
typedef mat<2, 3, double, defaultp> dmat2x3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<2, 4, double, lowp> dmat2x4;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<2, 4, double, mediump> dmat2x4;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 2 columns of 4 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 4, double, highp> dmat2x4;
|
||||
#endif
|
||||
typedef mat<2, 4, double, defaultp> dmat2x4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<3, 2, double, lowp> dmat3x2;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<3, 2, double, mediump> dmat3x2;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 3 columns of 2 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 2, double, highp> dmat3x2;
|
||||
#endif
|
||||
typedef mat<3, 2, double, defaultp> dmat3x2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,23 +9,15 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<3, 3, double, lowp> dmat3x3;
|
||||
typedef mat<3, 3, double, lowp> dmat3;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<3, 3, double, mediump> dmat3x3;
|
||||
typedef mat<3, 3, double, mediump> dmat3;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 3 columns of 3 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 3, double, highp> dmat3x3;
|
||||
typedef mat<3, 3, double, defaultp> dmat3x3;
|
||||
|
||||
/// 3 columns of 3 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 3, double, highp> dmat3;
|
||||
#endif
|
||||
typedef mat<3, 3, double, defaultp> dmat3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<3, 4, double, lowp> dmat3x4;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<3, 4, double, mediump> dmat3x4;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 3 columns of 4 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 4, double, highp> dmat3x4;
|
||||
#endif
|
||||
typedef mat<3, 4, double, defaultp> dmat3x4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<4, 2, double, lowp> dmat4x2;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<4, 2, double, mediump> dmat4x2;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 4 columns of 2 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 2, double, highp> dmat4x2;
|
||||
#endif
|
||||
typedef mat<4, 2, double, defaultp> dmat4x2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<4, 3, double, lowp> dmat4x3;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<4, 3, double, mediump> dmat4x3;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 4 columns of 3 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 3, double, highp> dmat4x3;
|
||||
#endif
|
||||
typedef mat<4, 3, double, defaultp> dmat4x3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,23 +9,15 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<4, 4, double, lowp> dmat4x4;
|
||||
typedef mat<4, 4, double, lowp> dmat4;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<4, 4, double, mediump> dmat4x4;
|
||||
typedef mat<4, 4, double, mediump> dmat4;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 4 columns of 4 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 4, double, highp> dmat4x4;
|
||||
typedef mat<4, 4, double, defaultp> dmat4x4;
|
||||
|
||||
/// 4 columns of 4 components matrix of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 4, double, highp> dmat4;
|
||||
#endif
|
||||
typedef mat<4, 4, double, defaultp> dmat4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,23 +9,15 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<2, 2, float, lowp> mat2x2;
|
||||
typedef mat<2, 2, float, lowp> mat2;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<2, 2, float, mediump> mat2x2;
|
||||
typedef mat<2, 2, float, mediump> mat2;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 2 columns of 2 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 2, float, highp> mat2x2;
|
||||
typedef mat<2, 2, float, defaultp> mat2x2;
|
||||
|
||||
/// 2 columns of 2 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 2, float, highp> mat2;
|
||||
#endif
|
||||
typedef mat<2, 2, float, defaultp> mat2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<2, 3, float, lowp> mat2x3;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<2, 3, float, mediump> mat2x3;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 2 columns of 3 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 3, float, highp> mat2x3;
|
||||
#endif
|
||||
typedef mat<2, 3, float, defaultp> mat2x3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<2, 4, float, lowp> mat2x4;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<2, 4, float, mediump> mat2x4;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 2 columns of 4 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<2, 4, float, highp> mat2x4;
|
||||
#endif
|
||||
typedef mat<2, 4, float, defaultp> mat2x4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<3, 2, float, lowp> mat3x2;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<3, 2, float, mediump> mat3x2;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 3 columns of 2 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 2, float, highp> mat3x2;
|
||||
#endif
|
||||
typedef mat<3, 2, float, defaultp> mat3x2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,23 +9,15 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef mat<3, 3, float, lowp> mat3x3;
|
||||
typedef mat<3, 3, float, lowp> mat3;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef mat<3, 3, float, mediump> mat3x3;
|
||||
typedef mat<3, 3, float, mediump> mat3;
|
||||
#else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 3 columns of 3 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 3, float, highp> mat3x3;
|
||||
typedef mat<3, 3, float, defaultp> mat3x3;
|
||||
|
||||
/// 3 columns of 3 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 3, float, highp> mat3;
|
||||
#endif
|
||||
typedef mat<3, 3, float, defaultp> mat3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<3, 4, float, lowp> mat3x4;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<3, 4, float, mediump> mat3x4;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 3 columns of 4 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<3, 4, float, highp> mat3x4;
|
||||
#endif
|
||||
typedef mat<3, 4, float, defaultp> mat3x4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<4, 2, float, lowp> mat4x2;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<4, 2, float, mediump> mat4x2;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 4 columns of 2 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 2, float, highp> mat4x2;
|
||||
#endif
|
||||
typedef mat<4, 2, float, defaultp> mat4x2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<4, 3, float, lowp> mat4x3;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<4, 3, float, mediump> mat4x3;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 4 columns of 3 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 3, float, highp> mat4x3;
|
||||
#endif
|
||||
typedef mat<4, 3, float, defaultp> mat4x3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,23 +9,15 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
#if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef mat<4, 4, float, lowp> mat4x4;
|
||||
typedef mat<4, 4, float, lowp> mat4;
|
||||
#elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef mat<4, 4, float, mediump> mat4x4;
|
||||
typedef mat<4, 4, float, mediump> mat4;
|
||||
#else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 4 columns of 4 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 4, float, highp> mat4x4;
|
||||
typedef mat<4, 4, float, defaultp> mat4x4;
|
||||
|
||||
/// 4 columns of 4 components matrix of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
|
||||
typedef mat<4, 4, float, highp> mat4;
|
||||
#endif
|
||||
typedef mat<4, 4, float, defaultp> mat4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -24,13 +24,10 @@ namespace glm
|
|||
/// @addtogroup ext_quaternion_double
|
||||
/// @{
|
||||
|
||||
#if GLM_CONFIG_PRECISION_FLOAT == GLM_HIGHP
|
||||
typedef qua<double, highp> dquat;
|
||||
#elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP
|
||||
typedef qua<double, mediump> dquat;
|
||||
#else
|
||||
typedef qua<double, lowp> dquat;
|
||||
#endif
|
||||
/// Quaternion of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see ext_quaternion_double
|
||||
typedef qua<double, defaultp> dquat;
|
||||
|
||||
/// @}
|
||||
} //namespace glm
|
||||
|
|
|
@ -24,13 +24,10 @@ namespace glm
|
|||
/// @addtogroup ext_quaternion_float
|
||||
/// @{
|
||||
|
||||
#if GLM_CONFIG_PRECISION_FLOAT == GLM_HIGHP
|
||||
typedef qua<float, highp> quat;
|
||||
#elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP
|
||||
typedef qua<float, mediump> quat;
|
||||
#else
|
||||
typedef qua<float, lowp> quat;
|
||||
#endif
|
||||
/// Quaternion of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see ext_quaternion_float
|
||||
typedef qua<float, defaultp> quat;
|
||||
|
||||
/// @}
|
||||
} //namespace glm
|
||||
|
|
|
@ -23,16 +23,10 @@ namespace glm
|
|||
/// @addtogroup ext_bvec1
|
||||
/// @{
|
||||
|
||||
# if GLM_CONFIG_PRECISION_BOOL == GLM_LOWP
|
||||
typedef vec<1, bool, lowp> bvec1;
|
||||
# elif GLM_CONFIG_PRECISION_BOOL == GLM_MEDIUMP
|
||||
typedef vec<1, bool, mediump> bvec1;
|
||||
# else
|
||||
/// 1 components vector of boolean.
|
||||
///
|
||||
/// @see ext_vector_bvec1 extension.
|
||||
typedef vec<1, bool, highp> bvec1;
|
||||
# endif
|
||||
/// 1 components vector of boolean.
|
||||
///
|
||||
/// @see ext_vector_bvec1 extension.
|
||||
typedef vec<1, bool, defaultp> bvec1;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_BOOL))
|
||||
typedef vec<2, bool, lowp> bvec2;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
|
||||
typedef vec<2, bool, mediump> bvec2;
|
||||
# else //defined(GLM_PRECISION_HIGHP_BOOL)
|
||||
/// 2 components vector of boolean.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, bool, highp> bvec2;
|
||||
# endif//GLM_PRECISION
|
||||
/// 2 components vector of boolean.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, bool, defaultp> bvec2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_BOOL))
|
||||
typedef vec<3, bool, lowp> bvec3;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
|
||||
typedef vec<3, bool, mediump> bvec3;
|
||||
# else //defined(GLM_PRECISION_HIGHP_BOOL)
|
||||
/// 3 components vector of boolean.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, bool, highp> bvec3;
|
||||
# endif//GLM_PRECISION
|
||||
/// 3 components vector of boolean.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, bool, defaultp> bvec3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_BOOL))
|
||||
typedef vec<4, bool, lowp> bvec4;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
|
||||
typedef vec<4, bool, mediump> bvec4;
|
||||
# else //defined(GLM_PRECISION_HIGHP_BOOL)
|
||||
/// 4 components vector of boolean.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, bool, highp> bvec4;
|
||||
# endif//GLM_PRECISION
|
||||
/// 4 components vector of boolean.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, bool, defaultp> bvec4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -23,16 +23,10 @@ namespace glm
|
|||
/// @addtogroup ext_vector_dvec1
|
||||
/// @{
|
||||
|
||||
# if GLM_CONFIG_PRECISION_DOUBLE == GLM_LOWP
|
||||
typedef vec<1, double, lowp> dvec1;
|
||||
# elif GLM_CONFIG_PRECISION_DOUBLE == GLM_MEDIUMP
|
||||
typedef vec<1, double, mediump> dvec1;
|
||||
# else
|
||||
/// 1 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see ext_vector_dvec1 extension.
|
||||
typedef vec<1, double, highp> dvec1;
|
||||
# endif
|
||||
/// 1 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see ext_vector_dvec1 extension.
|
||||
typedef vec<1, double, defaultp> dvec1;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef vec<2, double, lowp> dvec2;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef vec<2, double, mediump> dvec2;
|
||||
# else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 2 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, double, highp> dvec2;
|
||||
# endif//GLM_PRECISION
|
||||
/// 2 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, double, defaultp> dvec2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef vec<3, double, lowp> dvec3;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef vec<3, double, mediump> dvec3;
|
||||
# else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 3 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, double, highp> dvec3;
|
||||
# endif//GLM_PRECISION
|
||||
/// 3 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, double, defaultp> dvec3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_DOUBLE))
|
||||
typedef vec<4, double, lowp> dvec4;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
|
||||
typedef vec<4, double, mediump> dvec4;
|
||||
# else //defined(GLM_PRECISION_HIGHP_DOUBLE)
|
||||
/// 4 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, double, highp> dvec4;
|
||||
# endif//GLM_PRECISION
|
||||
/// 4 components vector of double-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, double, defaultp> dvec4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -23,16 +23,10 @@ namespace glm
|
|||
/// @addtogroup ext_vector_float1
|
||||
/// @{
|
||||
|
||||
# if GLM_CONFIG_PRECISION_FLOAT == GLM_LOWP
|
||||
typedef vec<1, float, lowp> vec1;
|
||||
# elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP
|
||||
typedef vec<1, float, mediump> vec1;
|
||||
# else
|
||||
/// 1 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see ext_vector_float1 extension.
|
||||
typedef vec<1, float, highp> vec1;
|
||||
# endif
|
||||
/// 1 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see ext_vector_float1 extension.
|
||||
typedef vec<1, float, defaultp> vec1;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef vec<2, float, lowp> vec2;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef vec<2, float, mediump> vec2;
|
||||
# else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 2 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, float, highp> vec2;
|
||||
# endif//GLM_PRECISION
|
||||
/// 2 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, float, defaultp> vec2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef vec<3, float, lowp> vec3;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef vec<3, float, mediump> vec3;
|
||||
# else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 3 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, float, highp> vec3;
|
||||
# endif//GLM_PRECISION
|
||||
/// 3 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, float, defaultp> vec3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_FLOAT))
|
||||
typedef vec<4, float, lowp> vec4;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
|
||||
typedef vec<4, float, mediump> vec4;
|
||||
# else //defined(GLM_PRECISION_HIGHP_FLOAT)
|
||||
/// 4 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, float, highp> vec4;
|
||||
# endif//GLM_PRECISION
|
||||
/// 4 components vector of single-precision floating-point numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, float, defaultp> vec4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -23,16 +23,10 @@ namespace glm
|
|||
/// @addtogroup ext_vector_int1
|
||||
/// @{
|
||||
|
||||
# if GLM_CONFIG_PRECISION_INT == GLM_LOWP
|
||||
typedef vec<1, int, lowp> ivec1;
|
||||
# elif GLM_CONFIG_PRECISION_INT == GLM_MEDIUMP
|
||||
typedef vec<1, int, mediump> ivec1;
|
||||
# else
|
||||
/// 1 component vector of signed integer numbers.
|
||||
///
|
||||
/// @see ext_vector_int1 extension.
|
||||
typedef vec<1, int, highp> ivec1;
|
||||
# endif
|
||||
/// 1 component vector of signed integer numbers.
|
||||
///
|
||||
/// @see ext_vector_int1 extension.
|
||||
typedef vec<1, int, defaultp> ivec1;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_INT))
|
||||
typedef vec<2, int, lowp> ivec2;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_INT))
|
||||
typedef vec<2, int, mediump> ivec2;
|
||||
# else //defined(GLM_PRECISION_HIGHP_INT)
|
||||
/// 2 components vector of signed integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, int, highp> ivec2;
|
||||
# endif//GLM_PRECISION
|
||||
/// 2 components vector of signed integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, int, defaultp> ivec2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_INT))
|
||||
typedef vec<3, int, lowp> ivec3;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_INT))
|
||||
typedef vec<3, int, mediump> ivec3;
|
||||
# else //defined(GLM_PRECISION_HIGHP_INT)
|
||||
/// 3 components vector of signed integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, int, highp> ivec3;
|
||||
# endif//GLM_PRECISION
|
||||
/// 3 components vector of signed integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, int, defaultp> ivec3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_INT))
|
||||
typedef vec<4, int, lowp> ivec4;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_INT))
|
||||
typedef vec<4, int, mediump> ivec4;
|
||||
# else //defined(GLM_PRECISION_HIGHP_INT)
|
||||
/// 4 components vector of signed integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, int, highp> ivec4;
|
||||
# endif//GLM_PRECISION
|
||||
/// 4 components vector of signed integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, int, defaultp> ivec4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -23,16 +23,10 @@ namespace glm
|
|||
/// @addtogroup ext_vector_uint1
|
||||
/// @{
|
||||
|
||||
# if GLM_CONFIG_PRECISION_UINT == GLM_LOWP
|
||||
typedef vec<1, unsigned int, lowp> uvec1;
|
||||
# elif GLM_CONFIG_PRECISION_UINT == GLM_MEDIUMP
|
||||
typedef vec<1, unsigned int, mediump> uvec1;
|
||||
# elif GLM_CONFIG_PRECISION_UINT == GLM_HIGHP
|
||||
/// 1 component vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see ext_vector_uint1 extension.
|
||||
typedef vec<1, unsigned int, highp> uvec1;
|
||||
# endif
|
||||
/// 1 component vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see ext_vector_uint1 extension.
|
||||
typedef vec<1, unsigned int, defaultp> uvec1;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if GLM_CONFIG_PRECISION_UINT == GLM_LOWP
|
||||
typedef vec<2, unsigned int, lowp> uvec2;
|
||||
# elif GLM_CONFIG_PRECISION_UINT == GLM_MEDIUMP
|
||||
typedef vec<2, unsigned int, mediump> uvec2;
|
||||
# elif GLM_CONFIG_PRECISION_UINT == GLM_HIGHP
|
||||
/// 2 components vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, unsigned int, highp> uvec2;
|
||||
# endif//GLM_PRECISION
|
||||
/// 2 components vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<2, unsigned int, defaultp> uvec2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_UINT))
|
||||
typedef vec<3, unsigned int, lowp> uvec3;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_UINT))
|
||||
typedef vec<3, unsigned int, mediump> uvec3;
|
||||
# else //defined(GLM_PRECISION_HIGHP_UINT)
|
||||
/// 3 components vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, unsigned int, highp> uvec3;
|
||||
# endif//GLM_PRECISION
|
||||
/// 3 components vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<3, unsigned int, defaultp> uvec3;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
|
@ -9,16 +9,10 @@ namespace glm
|
|||
/// @addtogroup core
|
||||
/// @{
|
||||
|
||||
# if(defined(GLM_PRECISION_LOWP_UINT))
|
||||
typedef vec<4, unsigned int, lowp> uvec4;
|
||||
# elif(defined(GLM_PRECISION_MEDIUMP_UINT))
|
||||
typedef vec<4, unsigned int, mediump> uvec4;
|
||||
# else //defined(GLM_PRECISION_HIGHP_UINT)
|
||||
/// 4 components vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, unsigned int, highp> uvec4;
|
||||
# endif//GLM_PRECISION
|
||||
/// 4 components vector of unsigned integer numbers.
|
||||
///
|
||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
|
||||
typedef vec<4, unsigned int, defaultp> uvec4;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
|
3180
glm/fwd.hpp
3180
glm/fwd.hpp
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue