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:
31
includes/glm/ext/vector_float1.hpp
Normal file
31
includes/glm/ext/vector_float1.hpp
Normal file
@@ -0,0 +1,31 @@
|
||||
/// @ref ext_vector_float1
|
||||
/// @file glm/ext/vector_float1.hpp
|
||||
///
|
||||
/// @defgroup ext_vector_float1 GLM_EXT_vector_float1
|
||||
/// @ingroup ext
|
||||
///
|
||||
/// Exposes single-precision floating point vector type with one component.
|
||||
///
|
||||
/// Include <glm/ext/vector_float1.hpp> to use the features of this extension.
|
||||
///
|
||||
/// @see ext_vector_float1_precision extension.
|
||||
/// @see ext_vector_double1 extension.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../detail/type_vec1.hpp"
|
||||
|
||||
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
|
||||
# pragma message("GLM: GLM_EXT_vector_float1 extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
/// @addtogroup ext_vector_float1
|
||||
/// @{
|
||||
|
||||
/// 1 components vector of single-precision floating-point numbers.
|
||||
typedef vec<1, float, defaultp> vec1;
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
Reference in New Issue
Block a user