| 1 | |
| 2 | |
| 3 | |
| 4 | #pragma once |
| 5 | #include "../detail/type_mat2x2.hpp" |
| 6 | |
| 7 | namespace glm |
| 8 | { |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | typedef mat<2, 2, float, lowp> lowp_mat2; |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | typedef mat<2, 2, float, mediump> mediump_mat2; |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | typedef mat<2, 2, float, highp> highp_mat2; |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | typedef mat<2, 2, float, lowp> lowp_mat2x2; |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | typedef mat<2, 2, float, mediump> mediump_mat2x2; |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | typedef mat<2, 2, float, highp> highp_mat2x2; |
| 47 | |
| 48 | |
| 49 | } |
| 50 | |
| 51 | #if GLM_CONFIG_CTOR_INIT == GLM_DISABLE |
| 52 | static_assert(std::is_trivially_default_constructible<glm::lowp_mat2x2>::value); |
| 53 | static_assert(std::is_trivially_default_constructible<glm::mediump_mat2x2>::value); |
| 54 | static_assert(std::is_trivially_default_constructible<glm::highp_mat2x2>::value); |
| 55 | static_assert(std::is_trivially_default_constructible<glm::lowp_mat2>::value); |
| 56 | static_assert(std::is_trivially_default_constructible<glm::mediump_mat2>::value); |
| 57 | static_assert(std::is_trivially_default_constructible<glm::highp_mat2>::value); |
| 58 | #endif |
| 59 | static_assert(std::is_trivially_copy_assignable<glm::lowp_mat2x2>::value); |
| 60 | static_assert(std::is_trivially_copy_assignable<glm::mediump_mat2x2>::value); |
| 61 | static_assert(std::is_trivially_copy_assignable<glm::highp_mat2x2>::value); |
| 62 | static_assert(std::is_trivially_copy_assignable<glm::lowp_mat2>::value); |
| 63 | static_assert(std::is_trivially_copy_assignable<glm::mediump_mat2>::value); |
| 64 | static_assert(std::is_trivially_copy_assignable<glm::highp_mat2>::value); |
| 65 | static_assert(std::is_trivially_copyable<glm::lowp_mat2x2>::value); |
| 66 | static_assert(std::is_trivially_copyable<glm::mediump_mat2x2>::value); |
| 67 | static_assert(std::is_trivially_copyable<glm::highp_mat2x2>::value); |
| 68 | static_assert(std::is_trivially_copyable<glm::lowp_mat2>::value); |
| 69 | static_assert(std::is_trivially_copyable<glm::mediump_mat2>::value); |
| 70 | static_assert(std::is_trivially_copyable<glm::highp_mat2>::value); |
| 71 | static_assert(std::is_copy_constructible<glm::lowp_mat2x2>::value); |
| 72 | static_assert(std::is_copy_constructible<glm::mediump_mat2x2>::value); |
| 73 | static_assert(std::is_copy_constructible<glm::highp_mat2x2>::value); |
| 74 | static_assert(std::is_copy_constructible<glm::lowp_mat2>::value); |
| 75 | static_assert(std::is_copy_constructible<glm::mediump_mat2>::value); |
| 76 | static_assert(std::is_copy_constructible<glm::highp_mat2>::value); |
| 77 | static_assert(glm::lowp_mat2x2::length() == 2); |
| 78 | static_assert(glm::mediump_mat2x2::length() == 2); |
| 79 | static_assert(glm::highp_mat2x2::length() == 2); |
| 80 | static_assert(glm::lowp_mat2::length() == 2); |
| 81 | static_assert(glm::mediump_mat2::length() == 2); |
| 82 | static_assert(glm::highp_mat2::length() == 2); |
| 83 | |