master
ブランチ master
VulkanExample / dep / include / glm / ext / vector_double3.hpp
812 B、26行 生 Blame 履歴
1/// @ref core
2/// @file glm/ext/vector_double3.hpp
3
4#pragma once
5#include "../detail/type_vec3.hpp"
6
7namespace glm
8{
9 /// @addtogroup core_vector
10 /// @{
11
12 /// 3 components vector of double-precision floating-point numbers.
13 ///
14 /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.5 Vectors</a>
15 typedef vec<3, double, defaultp> dvec3;
16
17 /// @}
18}//namespace glm
19
20#if GLM_CONFIG_CTOR_INIT == GLM_DISABLE
21static_assert(std::is_trivially_default_constructible<glm::dvec3>::value);
22#endif
23static_assert(std::is_trivially_copy_assignable<glm::dvec3>::value);
24static_assert(std::is_trivially_copyable<glm::dvec3>::value);
25static_assert(std::is_copy_constructible<glm::dvec3>::value);
26static_assert(glm::dvec3::length() == 3);