/// @ref core /// @file glm/ext/vector_float2.hpp #pragma once #include "../detail/type_vec2.hpp" namespace glm { /// @addtogroup core_vector /// @{ /// 2 components vector of single-precision floating-point numbers. /// /// @see GLSL 4.20.8 specification, section 4.1.5 Vectors typedef vec<2, float, defaultp> vec2; /// @} }//namespace glm #if GLM_CONFIG_CTOR_INIT == GLM_DISABLE static_assert(std::is_trivially_default_constructible::value); #endif static_assert(std::is_trivially_copy_assignable::value); static_assert(std::is_trivially_copyable::value); static_assert(std::is_copy_constructible::value); static_assert(glm::vec2::length() == 2);