mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
Update GLM to latest version (0.9.9.3). This includes GLM's change of matrices no longer default initializing to the identity matrix. This commit thus also includes the update of all of LearnOpenGL's code to reflect this: all matrices are now constructor-initialized to the identity matrix where relevant.
This commit is contained in:
31
includes/glm/ext/vector_double2_precision.hpp
Normal file
31
includes/glm/ext/vector_double2_precision.hpp
Normal file
@@ -0,0 +1,31 @@
|
||||
/// @ref core
|
||||
/// @file glm/ext/vector_double2_precision.hpp
|
||||
|
||||
#pragma once
|
||||
#include "../detail/type_vec2.hpp"
|
||||
|
||||
namespace glm
|
||||
{
|
||||
/// @addtogroup core_vector_precision
|
||||
/// @{
|
||||
|
||||
/// 2 components vector of high double-qualifier 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>
|
||||
/// @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>
|
||||
typedef vec<2, double, highp> highp_dvec2;
|
||||
|
||||
/// 2 components vector of medium double-qualifier 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>
|
||||
/// @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>
|
||||
typedef vec<2, double, mediump> mediump_dvec2;
|
||||
|
||||
/// 2 components vector of low double-qualifier 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>
|
||||
/// @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>
|
||||
typedef vec<2, double, lowp> lowp_dvec2;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
Reference in New Issue
Block a user