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