mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-10 02:23:23 +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:
36
includes/glm/ext/quaternion_float_precision.hpp
Normal file
36
includes/glm/ext/quaternion_float_precision.hpp
Normal file
@@ -0,0 +1,36 @@
|
||||
/// @ref ext_quaternion_float_precision
|
||||
/// @file glm/ext/quaternion_float_precision.hpp
|
||||
///
|
||||
/// @defgroup ext_quaternion_float_precision GLM_EXT_quaternion_float_precision
|
||||
/// @ingroup ext
|
||||
///
|
||||
/// Exposes single-precision floating point quaternion type with various precision in term of ULPs.
|
||||
///
|
||||
/// Include <glm/ext/quaternion_float_precision.hpp> to use the features of this extension.
|
||||
|
||||
#pragma once
|
||||
|
||||
// Dependency:
|
||||
#include "../detail/type_quat.hpp"
|
||||
|
||||
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
|
||||
# pragma message("GLM: GLM_EXT_quaternion_float_precision extension included")
|
||||
#endif
|
||||
|
||||
namespace glm
|
||||
{
|
||||
/// @addtogroup ext_quaternion_float_precision
|
||||
/// @{
|
||||
|
||||
/// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
|
||||
typedef qua<float, lowp> lowp_quat;
|
||||
|
||||
/// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
|
||||
typedef qua<float, mediump> mediump_quat;
|
||||
|
||||
/// Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
|
||||
typedef qua<float, highp> highp_quat;
|
||||
|
||||
/// @}
|
||||
} //namespace glm
|
||||
|
||||
Reference in New Issue
Block a user