master
ブランチ master
VulkanExample / dep / include / glm / ext / matrix_uint4x4.hpp
1.5 KB、52行 生 Blame 履歴
1/// @ref ext_matrix_uint4x4
2/// @file glm/ext/matrix_uint4x4.hpp
3///
4/// @see core (dependence)
5///
6/// @defgroup ext_matrix_uint4x4 GLM_EXT_matrix_uint4x4
7/// @ingroup ext
8///
9/// Include <glm/ext/matrix_uint4x4.hpp> to use the features of this extension.
10///
11/// Defines a number of matrices with integer types.
12
13#pragma once
14
15// Dependency:
16#include "../mat4x4.hpp"
17
18#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19# pragma message("GLM: GLM_EXT_matrix_uint4x4 extension included")
20#endif
21
22namespace glm
23{
24 /// @addtogroup ext_matrix_uint4x4
25 /// @{
26
27 /// Unsigned integer 4x4 matrix.
28 ///
29 /// @see ext_matrix_uint4x4
30 typedef mat<4, 4, uint, defaultp> umat4x4;
31
32 /// Unsigned integer 4x4 matrix.
33 ///
34 /// @see ext_matrix_uint4x4
35 typedef mat<4, 4, uint, defaultp> umat4;
36
37 /// @}
38}//namespace glm
39
40#if GLM_CONFIG_CTOR_INIT == GLM_DISABLE
41static_assert(std::is_trivially_default_constructible<glm::umat4x4>::value);
42static_assert(std::is_trivially_default_constructible<glm::umat4>::value);
43#endif
44static_assert(std::is_trivially_copy_assignable<glm::umat4x4>::value);
45static_assert(std::is_trivially_copy_assignable<glm::umat4>::value);
46static_assert(std::is_trivially_copyable<glm::umat4x4>::value);
47static_assert(std::is_trivially_copyable<glm::umat4>::value);
48static_assert(std::is_copy_constructible<glm::umat4x4>::value);
49static_assert(std::is_copy_constructible<glm::umat4>::value);
50static_assert(glm::umat4x4::length() == 4);
51static_assert(glm::umat4::length() == 4);
52