mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +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:
32
includes/glm/ext/vector_int1.hpp
Normal file
32
includes/glm/ext/vector_int1.hpp
Normal file
@@ -0,0 +1,32 @@
|
||||
/// @ref ext_vector_int1
|
||||
/// @file glm/ext/vector_int1.hpp
|
||||
///
|
||||
/// @defgroup ext_vector_int1 GLM_EXT_vector_int1
|
||||
/// @ingroup ext
|
||||
///
|
||||
/// Exposes ivec1 vector type.
|
||||
///
|
||||
/// Include <glm/ext/vector_int1.hpp> to use the features of this extension.
|
||||
///
|
||||
/// @see ext_vector_uint1 extension.
|
||||
/// @see ext_vector_int1_precision extension.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../detail/type_vec1.hpp"
|
||||
|
||||
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
|
||||
# pragma message("GLM: GLM_EXT_vector_int1 extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
/// @addtogroup ext_vector_int1
|
||||
/// @{
|
||||
|
||||
/// 1 component vector of signed integer numbers.
|
||||
typedef vec<1, int, defaultp> ivec1;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
||||
Reference in New Issue
Block a user