| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | #pragma once |
| 12 | |
| 13 | |
| 14 | #include "../detail/type_quat.hpp" |
| 15 | |
| 16 | #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) |
| 17 | # pragma message("GLM: GLM_EXT_quaternion_double_precision extension included") |
| 18 | #endif |
| 19 | |
| 20 | namespace glm |
| 21 | { |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | typedef qua<double, lowp> lowp_dquat; |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | typedef qua<double, mediump> mediump_dquat; |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | typedef qua<double, highp> highp_dquat; |
| 39 | |
| 40 | |
| 41 | } |
| 42 | |
| 43 | #if GLM_CONFIG_CTOR_INIT == GLM_DISABLE |
| 44 | static_assert(std::is_trivially_default_constructible<glm::lowp_dquat>::value); |
| 45 | static_assert(std::is_trivially_default_constructible<glm::mediump_dquat>::value); |
| 46 | static_assert(std::is_trivially_default_constructible<glm::highp_dquat>::value); |
| 47 | #endif |
| 48 | static_assert(std::is_trivially_copy_assignable<glm::lowp_dquat>::value); |
| 49 | static_assert(std::is_trivially_copy_assignable<glm::mediump_dquat>::value); |
| 50 | static_assert(std::is_trivially_copy_assignable<glm::highp_dquat>::value); |
| 51 | static_assert(std::is_trivially_copyable<glm::lowp_dquat>::value); |
| 52 | static_assert(std::is_trivially_copyable<glm::mediump_dquat>::value); |
| 53 | static_assert(std::is_trivially_copyable<glm::highp_dquat>::value); |
| 54 | static_assert(std::is_copy_constructible<glm::lowp_dquat>::value); |
| 55 | static_assert(std::is_copy_constructible<glm::mediump_dquat>::value); |
| 56 | static_assert(std::is_copy_constructible<glm::highp_dquat>::value); |
| 57 | static_assert(glm::lowp_dquat::length() == 4); |
| 58 | static_assert(glm::mediump_dquat::length() == 4); |
| 59 | static_assert(glm::highp_dquat::length() == 4); |