4jcraft/thirdparty/include/android/glm/ext/vector_int4.hpp
2026-04-05 07:41:20 +00:00

27 lines
763 B
C++

/// @ref core
/// @file glm/ext/vector_int4.hpp
#pragma once
#include "../detail/type_vec4.hpp"
namespace glm
{
/// @addtogroup core_vector
/// @{
/// 4 components vector of signed integer numbers.
///
/// @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>
typedef vec<4, int, defaultp> ivec4;
/// @}
}//namespace glm
#if GLM_CONFIG_CTOR_INIT == GLM_DISABLE
static_assert(std::is_trivially_default_constructible<glm::ivec4>::value);
#endif
static_assert(std::is_trivially_copy_assignable<glm::ivec4>::value);
static_assert(std::is_trivially_copyable<glm::ivec4>::value);
static_assert(std::is_copy_constructible<glm::ivec4>::value);
static_assert(glm::ivec4::length() == 4);