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