1 /// @ref core 2 /// @file glm/mat2x2.hpp 3 4 #pragma once 5 6 #include "detail/type_mat2x2.hpp" 7 8 namespace glm 9 { 10 /// 2 columns of 2 components matrix of low precision floating-point numbers. 11 /// There is no guarantee on the actual precision. 12 /// 13 /// @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> 14 /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a> 15 typedef tmat2x2<float, lowp> lowp_mat2; 16 17 /// 2 columns of 2 components matrix of medium precision floating-point numbers. 18 /// There is no guarantee on the actual precision. 19 /// 20 /// @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> 21 /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a> 22 typedef tmat2x2<float, mediump> mediump_mat2; 23 24 /// 2 columns of 2 components matrix of high precision floating-point numbers. 25 /// There is no guarantee on the actual precision. 26 /// 27 /// @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> 28 /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a> 29 typedef tmat2x2<float, highp> highp_mat2; 30 31 /// 2 columns of 2 components matrix of low precision floating-point numbers. 32 /// There is no guarantee on the actual precision. 33 /// 34 /// @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> 35 /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a> 36 typedef tmat2x2<float, lowp> lowp_mat2x2; 37 38 /// 2 columns of 2 components matrix of medium precision floating-point numbers. 39 /// There is no guarantee on the actual precision. 40 /// 41 /// @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> 42 /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a> 43 typedef tmat2x2<float, mediump> mediump_mat2x2; 44 45 /// 2 columns of 2 components matrix of high precision floating-point numbers. 46 /// There is no guarantee on the actual precision. 47 /// 48 /// @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> 49 /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a> 50 typedef tmat2x2<float, highp> highp_mat2x2; 51 52 }//namespace glm 53