Fixed missing types in fwd.hpp #804

master
Christophe Riccio ago%!(EXTRA string=7 years)
parent c7822ff6ff
commit 329f0e46f1
  1. 12
      glm/ext/matrix_double2x2.hpp
  2. 8
      glm/ext/matrix_double2x3.hpp
  3. 8
      glm/ext/matrix_double2x4.hpp
  4. 8
      glm/ext/matrix_double3x2.hpp
  5. 12
      glm/ext/matrix_double3x3.hpp
  6. 8
      glm/ext/matrix_double3x4.hpp
  7. 8
      glm/ext/matrix_double4x2.hpp
  8. 8
      glm/ext/matrix_double4x3.hpp
  9. 12
      glm/ext/matrix_double4x4.hpp
  10. 12
      glm/ext/matrix_float2x2.hpp
  11. 8
      glm/ext/matrix_float2x3.hpp
  12. 8
      glm/ext/matrix_float2x4.hpp
  13. 8
      glm/ext/matrix_float3x2.hpp
  14. 12
      glm/ext/matrix_float3x3.hpp
  15. 8
      glm/ext/matrix_float3x4.hpp
  16. 8
      glm/ext/matrix_float4x2.hpp
  17. 8
      glm/ext/matrix_float4x3.hpp
  18. 12
      glm/ext/matrix_float4x4.hpp
  19. 11
      glm/ext/quaternion_double.hpp
  20. 11
      glm/ext/quaternion_float.hpp
  21. 14
      glm/ext/vector_bool1.hpp
  22. 14
      glm/ext/vector_bool2.hpp
  23. 14
      glm/ext/vector_bool3.hpp
  24. 14
      glm/ext/vector_bool4.hpp
  25. 14
      glm/ext/vector_double1.hpp
  26. 14
      glm/ext/vector_double2.hpp
  27. 14
      glm/ext/vector_double3.hpp
  28. 14
      glm/ext/vector_double4.hpp
  29. 14
      glm/ext/vector_float1.hpp
  30. 14
      glm/ext/vector_float2.hpp
  31. 14
      glm/ext/vector_float3.hpp
  32. 14
      glm/ext/vector_float4.hpp
  33. 14
      glm/ext/vector_int1.hpp
  34. 14
      glm/ext/vector_int2.hpp
  35. 14
      glm/ext/vector_int3.hpp
  36. 14
      glm/ext/vector_int4.hpp
  37. 14
      glm/ext/vector_uint1.hpp
  38. 14
      glm/ext/vector_uint2.hpp
  39. 14
      glm/ext/vector_uint3.hpp
  40. 14
      glm/ext/vector_uint4.hpp
  41. 3224
      glm/fwd.hpp

@ -9,23 +9,15 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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. /// 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> /// @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; typedef mat<2, 2, double, defaultp> dmat2;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<2, 3, double, defaultp> dmat2x3;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<2, 4, double, defaultp> dmat2x4;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<3, 2, double, defaultp> dmat3x2;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,23 +9,15 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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. /// 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> /// @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; typedef mat<3, 3, double, defaultp> dmat3;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<3, 4, double, defaultp> dmat3x4;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<4, 2, double, defaultp> dmat4x2;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<4, 3, double, defaultp> dmat4x3;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,23 +9,15 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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. /// 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> /// @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; typedef mat<4, 4, double, defaultp> dmat4;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,23 +9,15 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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. /// 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> /// @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; typedef mat<2, 2, float, defaultp> mat2;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<2, 3, float, defaultp> mat2x3;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<2, 4, float, defaultp> mat2x4;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<3, 2, float, defaultp> mat3x2;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,23 +9,15 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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. /// 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> /// @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; typedef mat<3, 3, float, defaultp> mat3;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<3, 4, float, defaultp> mat3x4;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<4, 2, float, defaultp> mat4x2;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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; typedef mat<4, 3, float, defaultp> mat4x3;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,23 +9,15 @@ namespace glm
/// @addtogroup core /// @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. /// 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> /// @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. /// 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> /// @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; typedef mat<4, 4, float, defaultp> mat4;
#endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -24,13 +24,10 @@ namespace glm
/// @addtogroup ext_quaternion_double /// @addtogroup ext_quaternion_double
/// @{ /// @{
#if GLM_CONFIG_PRECISION_FLOAT == GLM_HIGHP /// Quaternion of double-precision floating-point numbers.
typedef qua<double, highp> dquat; ///
#elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP /// @see ext_quaternion_double
typedef qua<double, mediump> dquat; typedef qua<double, defaultp> dquat;
#else
typedef qua<double, lowp> dquat;
#endif
/// @} /// @}
} //namespace glm } //namespace glm

@ -24,13 +24,10 @@ namespace glm
/// @addtogroup ext_quaternion_float /// @addtogroup ext_quaternion_float
/// @{ /// @{
#if GLM_CONFIG_PRECISION_FLOAT == GLM_HIGHP /// Quaternion of single-precision floating-point numbers.
typedef qua<float, highp> quat; ///
#elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP /// @see ext_quaternion_float
typedef qua<float, mediump> quat; typedef qua<float, defaultp> quat;
#else
typedef qua<float, lowp> quat;
#endif
/// @} /// @}
} //namespace glm } //namespace glm

@ -23,16 +23,10 @@ namespace glm
/// @addtogroup ext_bvec1 /// @addtogroup ext_bvec1
/// @{ /// @{
# if GLM_CONFIG_PRECISION_BOOL == GLM_LOWP /// 1 components vector of boolean.
typedef vec<1, bool, lowp> bvec1; ///
# elif GLM_CONFIG_PRECISION_BOOL == GLM_MEDIUMP /// @see ext_vector_bvec1 extension.
typedef vec<1, bool, mediump> bvec1; typedef vec<1, bool, defaultp> bvec1;
# else
/// 1 components vector of boolean.
///
/// @see ext_vector_bvec1 extension.
typedef vec<1, bool, highp> bvec1;
# endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_BOOL)) /// 2 components vector of boolean.
typedef vec<2, bool, lowp> bvec2; ///
# elif(defined(GLM_PRECISION_MEDIUMP_BOOL)) /// @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, mediump> bvec2; typedef vec<2, bool, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_BOOL)) /// 3 components vector of boolean.
typedef vec<3, bool, lowp> bvec3; ///
# elif(defined(GLM_PRECISION_MEDIUMP_BOOL)) /// @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, mediump> bvec3; typedef vec<3, bool, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_BOOL)) /// 4 components vector of boolean.
typedef vec<4, bool, lowp> bvec4; ///
# elif(defined(GLM_PRECISION_MEDIUMP_BOOL)) /// @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, mediump> bvec4; typedef vec<4, bool, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -23,16 +23,10 @@ namespace glm
/// @addtogroup ext_vector_dvec1 /// @addtogroup ext_vector_dvec1
/// @{ /// @{
# if GLM_CONFIG_PRECISION_DOUBLE == GLM_LOWP /// 1 components vector of double-precision floating-point numbers.
typedef vec<1, double, lowp> dvec1; ///
# elif GLM_CONFIG_PRECISION_DOUBLE == GLM_MEDIUMP /// @see ext_vector_dvec1 extension.
typedef vec<1, double, mediump> dvec1; typedef vec<1, double, defaultp> dvec1;
# else
/// 1 components vector of double-precision floating-point numbers.
///
/// @see ext_vector_dvec1 extension.
typedef vec<1, double, highp> dvec1;
# endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_DOUBLE)) /// 2 components vector of double-precision floating-point numbers.
typedef vec<2, double, lowp> dvec2; ///
# elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE)) /// @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, mediump> dvec2; typedef vec<2, double, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_DOUBLE)) /// 3 components vector of double-precision floating-point numbers.
typedef vec<3, double, lowp> dvec3; ///
# elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE)) /// @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, mediump> dvec3; typedef vec<3, double, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_DOUBLE)) /// 4 components vector of double-precision floating-point numbers.
typedef vec<4, double, lowp> dvec4; ///
# elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE)) /// @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, mediump> dvec4; typedef vec<4, double, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -23,16 +23,10 @@ namespace glm
/// @addtogroup ext_vector_float1 /// @addtogroup ext_vector_float1
/// @{ /// @{
# if GLM_CONFIG_PRECISION_FLOAT == GLM_LOWP /// 1 components vector of single-precision floating-point numbers.
typedef vec<1, float, lowp> vec1; ///
# elif GLM_CONFIG_PRECISION_FLOAT == GLM_MEDIUMP /// @see ext_vector_float1 extension.
typedef vec<1, float, mediump> vec1; typedef vec<1, float, defaultp> vec1;
# else
/// 1 components vector of single-precision floating-point numbers.
///
/// @see ext_vector_float1 extension.
typedef vec<1, float, highp> vec1;
# endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_FLOAT)) /// 2 components vector of single-precision floating-point numbers.
typedef vec<2, float, lowp> vec2; ///
# elif(defined(GLM_PRECISION_MEDIUMP_FLOAT)) /// @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, mediump> vec2; typedef vec<2, float, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_FLOAT)) /// 3 components vector of single-precision floating-point numbers.
typedef vec<3, float, lowp> vec3; ///
# elif(defined(GLM_PRECISION_MEDIUMP_FLOAT)) /// @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, mediump> vec3; typedef vec<3, float, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_FLOAT)) /// 4 components vector of single-precision floating-point numbers.
typedef vec<4, float, lowp> vec4; ///
# elif(defined(GLM_PRECISION_MEDIUMP_FLOAT)) /// @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, mediump> vec4; typedef vec<4, float, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -23,16 +23,10 @@ namespace glm
/// @addtogroup ext_vector_int1 /// @addtogroup ext_vector_int1
/// @{ /// @{
# if GLM_CONFIG_PRECISION_INT == GLM_LOWP /// 1 component vector of signed integer numbers.
typedef vec<1, int, lowp> ivec1; ///
# elif GLM_CONFIG_PRECISION_INT == GLM_MEDIUMP /// @see ext_vector_int1 extension.
typedef vec<1, int, mediump> ivec1; typedef vec<1, int, defaultp> ivec1;
# else
/// 1 component vector of signed integer numbers.
///
/// @see ext_vector_int1 extension.
typedef vec<1, int, highp> ivec1;
# endif
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_INT)) /// 2 components vector of signed integer numbers.
typedef vec<2, int, lowp> ivec2; ///
# elif(defined(GLM_PRECISION_MEDIUMP_INT)) /// @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, mediump> ivec2; typedef vec<2, int, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_INT)) /// 3 components vector of signed integer numbers.
typedef vec<3, int, lowp> ivec3; ///
# elif(defined(GLM_PRECISION_MEDIUMP_INT)) /// @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, mediump> ivec3; typedef vec<3, int, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_INT)) /// 4 components vector of signed integer numbers.
typedef vec<4, int, lowp> ivec4; ///
# elif(defined(GLM_PRECISION_MEDIUMP_INT)) /// @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, mediump> ivec4; typedef vec<4, int, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -23,16 +23,10 @@ namespace glm
/// @addtogroup ext_vector_uint1 /// @addtogroup ext_vector_uint1
/// @{ /// @{
# if GLM_CONFIG_PRECISION_UINT == GLM_LOWP /// 1 component vector of unsigned integer numbers.
typedef vec<1, unsigned int, lowp> uvec1; ///
# elif GLM_CONFIG_PRECISION_UINT == GLM_MEDIUMP /// @see ext_vector_uint1 extension.
typedef vec<1, unsigned int, mediump> uvec1; typedef vec<1, unsigned int, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if GLM_CONFIG_PRECISION_UINT == GLM_LOWP /// 2 components vector of unsigned integer numbers.
typedef vec<2, unsigned int, lowp> uvec2; ///
# elif GLM_CONFIG_PRECISION_UINT == GLM_MEDIUMP /// @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, mediump> uvec2; typedef vec<2, unsigned int, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_UINT)) /// 3 components vector of unsigned integer numbers.
typedef vec<3, unsigned int, lowp> uvec3; ///
# elif(defined(GLM_PRECISION_MEDIUMP_UINT)) /// @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, mediump> uvec3; typedef vec<3, unsigned int, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

@ -9,16 +9,10 @@ namespace glm
/// @addtogroup core /// @addtogroup core
/// @{ /// @{
# if(defined(GLM_PRECISION_LOWP_UINT)) /// 4 components vector of unsigned integer numbers.
typedef vec<4, unsigned int, lowp> uvec4; ///
# elif(defined(GLM_PRECISION_MEDIUMP_UINT)) /// @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, mediump> uvec4; typedef vec<4, unsigned int, defaultp> 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
/// @} /// @}
}//namespace glm }//namespace glm

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save