master
ブランチ master
VulkanExample / dep / include / glm / ext / matrix_uint3x2.hpp
1.1 KB、42行 生 Blame 履歴
1/// @ref ext_matrix_uint3x2
2/// @file glm/ext/matrix_uint3x2.hpp
3///
4/// @see core (dependence)
5///
6/// @defgroup ext_matrix_uint3x2 GLM_EXT_matrix_uint3x2
7/// @ingroup ext
8///
9/// Include <glm/ext/matrix_uint3x2.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 "../mat3x2.hpp"
17
18#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19# pragma message("GLM: GLM_EXT_matrix_uint3x2 extension included")
20#endif
21
22namespace glm
23{
24 /// @addtogroup ext_matrix_uint3x2
25 /// @{
26
27 /// Unsigned integer 3x2 matrix.
28 ///
29 /// @see ext_matrix_uint3x2
30 typedef mat<3, 2, uint, defaultp> umat3x2;
31
32 /// @}
33}//namespace glm
34
35#if GLM_CONFIG_CTOR_INIT == GLM_DISABLE
36static_assert(std::is_trivially_default_constructible<glm::umat3x2>::value);
37#endif
38static_assert(std::is_trivially_copy_assignable<glm::umat3x2>::value);
39static_assert(std::is_trivially_copyable<glm::umat3x2>::value);
40static_assert(std::is_copy_constructible<glm::umat3x2>::value);
41static_assert(glm::umat3x2::length() == 3);
42