| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | #pragma once |
| 15 | |
| 16 | #include "../detail/type_vec1.hpp" |
| 17 | |
| 18 | #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) |
| 19 | # pragma message("GLM: GLM_EXT_vector_float1 extension included") |
| 20 | #endif |
| 21 | |
| 22 | namespace glm |
| 23 | { |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | typedef vec<1, float, defaultp> vec1; |
| 29 | |
| 30 | |
| 31 | } |
| 32 | |
| 33 | #if GLM_CONFIG_CTOR_INIT == GLM_DISABLE |
| 34 | static_assert(std::is_trivially_default_constructible<glm::vec1>::value); |
| 35 | #endif |
| 36 | static_assert(std::is_trivially_copy_assignable<glm::vec1>::value); |
| 37 | static_assert(std::is_trivially_copyable<glm::vec1>::value); |
| 38 | static_assert(std::is_copy_constructible<glm::vec1>::value); |
| 39 | static_assert(glm::vec1::length() == 1); |