master
ブランチ master
VulkanExample / dep / include / glm / ext / matrix_double4x4.hpp
1.4 KB、37行 生 Blame 履歴
1/// @ref core
2/// @file glm/ext/matrix_double4x4.hpp
3
4#pragma once
5#include "../detail/type_mat4x4.hpp"
6
7namespace glm
8{
9 /// @addtogroup core_matrix
10 /// @{
11
12 /// 4 columns of 4 components matrix of double-precision floating-point numbers.
13 ///
14 /// @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>
15 typedef mat<4, 4, double, defaultp> dmat4x4;
16
17 /// 4 columns of 4 components matrix of double-precision floating-point numbers.
18 ///
19 /// @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>
20 typedef mat<4, 4, double, defaultp> dmat4;
21
22 /// @}
23}//namespace glm
24
25#if GLM_CONFIG_CTOR_INIT == GLM_DISABLE
26static_assert(std::is_trivially_default_constructible<glm::dmat4x4>::value);
27static_assert(std::is_trivially_default_constructible<glm::dmat4>::value);
28#endif
29static_assert(std::is_trivially_copy_assignable<glm::dmat4x4>::value);
30static_assert(std::is_trivially_copy_assignable<glm::dmat4>::value);
31static_assert(std::is_trivially_copyable<glm::dmat4x4>::value);
32static_assert(std::is_trivially_copyable<glm::dmat4>::value);
33static_assert(std::is_copy_constructible<glm::dmat4x4>::value);
34static_assert(std::is_copy_constructible<glm::dmat4>::value);
35static_assert(glm::dmat4x4::length() == 4);
36static_assert(glm::dmat4::length() == 4);
37