/// @ref core /// @file glm/ext/vector_float4.hpp #pragma once #include "../detail/type_vec4.hpp" namespace glm { /// @addtogroup core_vector /// @{ /// 4 components vector of single-precision floating-point numbers. /// /// @see GLSL 4.20.8 specification, section 4.1.5 Vectors typedef vec<4, float, defaultp> vec4; /// @} }//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::vec4::length() == 4);