/// @ref core /// @file glm/detail/type_tvec4.inl namespace glm{ namespace detail { template struct is_int { enum test {value = 0}; }; template <> struct is_int { enum test {value = ~0}; }; template <> struct is_int { enum test {value = ~0}; }; template <> struct is_int { enum test {value = ~0}; }; template <> struct is_int { enum test {value = ~0}; }; template struct compute_vec4_add { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x + b.x, a.y + b.y, a.z + b.z, a.w + b.w); } }; template struct compute_vec4_sub { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x - b.x, a.y - b.y, a.z - b.z, a.w - b.w); } }; template struct compute_vec4_mul { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x * b.x, a.y * b.y, a.z * b.z, a.w * b.w); } }; template struct compute_vec4_div { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x / b.x, a.y / b.y, a.z / b.z, a.w / b.w); } }; template struct compute_vec4_mod { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x % b.x, a.y % b.y, a.z % b.z, a.w % b.w); } }; template struct compute_vec4_and { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x & b.x, a.y & b.y, a.z & b.z, a.w & b.w); } }; template struct compute_vec4_or { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x | b.x, a.y | b.y, a.z | b.z, a.w | b.w); } }; template struct compute_vec4_xor { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x ^ b.x, a.y ^ b.y, a.z ^ b.z, a.w ^ b.w); } }; template struct compute_vec4_shift_left { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x << b.x, a.y << b.y, a.z << b.z, a.w << b.w); } }; template struct compute_vec4_shift_right { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & a, tvec4 const & b) { return tvec4(a.x >> b.x, a.y >> b.y, a.z >> b.z, a.w >> b.w); } }; template struct compute_vec4_equal { GLM_FUNC_QUALIFIER static bool call(tvec4 const & v1, tvec4 const & v2) { return (v1.x == v2.x) && (v1.y == v2.y) && (v1.z == v2.z) && (v1.w == v2.w); } }; template struct compute_vec4_nequal { GLM_FUNC_QUALIFIER static bool call(tvec4 const & v1, tvec4 const & v2) { return (v1.x != v2.x) || (v1.y != v2.y) || (v1.z != v2.z) || (v1.w != v2.w); } }; template struct compute_vec4_bitwise_not { GLM_FUNC_QUALIFIER static tvec4 call(tvec4 const & v) { return tvec4(~v.x, ~v.y, ~v.z, ~v.w); } }; }//namespace detail // -- Implicit basic constructors -- # if !GLM_HAS_DEFAULTED_FUNCTIONS || !defined(GLM_FORCE_NO_CTOR_INIT) template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4::tvec4() # ifndef GLM_FORCE_NO_CTOR_INIT : x(0), y(0), z(0), w(0) # endif {} # endif//!GLM_HAS_DEFAULTED_FUNCTIONS # if !GLM_HAS_DEFAULTED_FUNCTIONS template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4::tvec4(tvec4 const & v) : x(v.x), y(v.y), z(v.z), w(v.w) {} # endif//!GLM_HAS_DEFAULTED_FUNCTIONS template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4::tvec4(tvec4 const & v) : x(v.x), y(v.y), z(v.z), w(v.w) {} // -- Explicit basic constructors -- template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4::tvec4(ctor) {} template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4::tvec4(T scalar) : x(scalar), y(scalar), z(scalar), w(scalar) {} template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4::tvec4(T a, T b, T c, T d) : x(a), y(b), z(c), w(d) {} // -- Conversion scalar constructors -- template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_SIMD tvec4::tvec4(A a, B b, C c, D d) : x(static_cast(a)), y(static_cast(b)), z(static_cast(c)), w(static_cast(d)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec1 const & a, tvec1 const & b, tvec1 const & c, tvec1 const & d) : x(static_cast(a.x)), y(static_cast(b.x)), z(static_cast(c.x)), w(static_cast(d.x)) {} // -- Conversion vector constructors -- template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec2 const & a, B b, C c) : x(static_cast(a.x)), y(static_cast(a.y)), z(static_cast(b)), w(static_cast(c)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec2 const & a, tvec1 const & b, tvec1 const & c) : x(static_cast(a.x)), y(static_cast(a.y)), z(static_cast(b.x)), w(static_cast(c.x)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(A s1, tvec2 const & v, C s2) : x(static_cast(s1)), y(static_cast(v.x)), z(static_cast(v.y)), w(static_cast(s2)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec1 const & a, tvec2 const & b, tvec1 const & c) : x(static_cast(a.x)), y(static_cast(b.x)), z(static_cast(b.y)), w(static_cast(c.x)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(A s1, B s2, tvec2 const & v) : x(static_cast(s1)), y(static_cast(s2)), z(static_cast(v.x)), w(static_cast(v.y)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec1 const & a, tvec1 const & b, tvec2 const & c) : x(static_cast(a.x)), y(static_cast(b.x)), z(static_cast(c.x)), w(static_cast(c.y)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec3 const & a, B b) : x(static_cast(a.x)), y(static_cast(a.y)), z(static_cast(a.z)), w(static_cast(b)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec3 const & a, tvec1 const & b) : x(static_cast(a.x)), y(static_cast(a.y)), z(static_cast(a.z)), w(static_cast(b.x)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(A a, tvec3 const & b) : x(static_cast(a)), y(static_cast(b.x)), z(static_cast(b.y)), w(static_cast(b.z)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec1 const & a, tvec3 const & b) : x(static_cast(a.x)), y(static_cast(b.x)), z(static_cast(b.y)), w(static_cast(b.z)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec2 const & a, tvec2 const & b) : x(static_cast(a.x)), y(static_cast(a.y)), z(static_cast(b.x)), w(static_cast(b.y)) {} template template GLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4::tvec4(tvec4 const & v) : x(static_cast(v.x)), y(static_cast(v.y)), z(static_cast(v.z)), w(static_cast(v.w)) {} // -- Component accesses -- template GLM_FUNC_QUALIFIER T & tvec4::operator[](typename tvec4::length_type i) { assert(i >= 0 && i < this->length()); return (&x)[i]; } template GLM_FUNC_QUALIFIER T const & tvec4::operator[](typename tvec4::length_type i) const { assert(i >= 0 && i < this->length()); return (&x)[i]; } // -- Unary arithmetic operators -- # if !GLM_HAS_DEFAULTED_FUNCTIONS template GLM_FUNC_QUALIFIER tvec4& tvec4::operator=(tvec4 const & v) { this->x = v.x; this->y = v.y; this->z = v.z; this->w = v.w; return *this; } # endif//!GLM_HAS_DEFAULTED_FUNCTIONS template template GLM_FUNC_QUALIFIER tvec4& tvec4::operator=(tvec4 const & v) { this->x = static_cast(v.x); this->y = static_cast(v.y); this->z = static_cast(v.z); this->w = static_cast(v.w); return *this; } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator+=(U scalar) { return (*this = detail::compute_vec4_add::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator+=(tvec1 const & v) { return (*this = detail::compute_vec4_add::value>::call(*this, tvec4(v.x))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator+=(tvec4 const & v) { return (*this = detail::compute_vec4_add::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator-=(U scalar) { return (*this = detail::compute_vec4_sub::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator-=(tvec1 const & v) { return (*this = detail::compute_vec4_sub::value>::call(*this, tvec4(v.x))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator-=(tvec4 const & v) { return (*this = detail::compute_vec4_sub::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator*=(U scalar) { return (*this = detail::compute_vec4_mul::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator*=(tvec1 const & v) { return (*this = detail::compute_vec4_mul::value>::call(*this, tvec4(v.x))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator*=(tvec4 const & v) { return (*this = detail::compute_vec4_mul::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator/=(U scalar) { return (*this = detail::compute_vec4_div::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator/=(tvec1 const & v) { return (*this = detail::compute_vec4_div::value>::call(*this, tvec4(v.x))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator/=(tvec4 const & v) { return (*this = detail::compute_vec4_div::value>::call(*this, tvec4(v))); } // -- Increment and decrement operators -- template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator++() { ++this->x; ++this->y; ++this->z; ++this->w; return *this; } template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator--() { --this->x; --this->y; --this->z; --this->w; return *this; } template GLM_FUNC_QUALIFIER tvec4 tvec4::operator++(int) { tvec4 Result(*this); ++*this; return Result; } template GLM_FUNC_QUALIFIER tvec4 tvec4::operator--(int) { tvec4 Result(*this); --*this; return Result; } // -- Unary bit operators -- template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator%=(U scalar) { return (*this = detail::compute_vec4_mod::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator%=(tvec1 const& v) { return (*this = detail::compute_vec4_mod::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator%=(tvec4 const& v) { return (*this = detail::compute_vec4_mod::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator&=(U scalar) { return (*this = detail::compute_vec4_and::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator&=(tvec1 const & v) { return (*this = detail::compute_vec4_and::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator&=(tvec4 const & v) { return (*this = detail::compute_vec4_and::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator|=(U scalar) { return (*this = detail::compute_vec4_or::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator|=(tvec1 const & v) { return (*this = detail::compute_vec4_or::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator|=(tvec4 const & v) { return (*this = detail::compute_vec4_or::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator^=(U scalar) { return (*this = detail::compute_vec4_xor::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator^=(tvec1 const & v) { return (*this = detail::compute_vec4_xor::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator^=(tvec4 const & v) { return (*this = detail::compute_vec4_xor::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator<<=(U scalar) { return (*this = detail::compute_vec4_shift_left::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator<<=(tvec1 const & v) { return (*this = detail::compute_vec4_shift_left::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator<<=(tvec4 const & v) { return (*this = detail::compute_vec4_shift_left::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator>>=(U scalar) { return (*this = detail::compute_vec4_shift_right::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(scalar))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator>>=(tvec1 const & v) { return (*this = detail::compute_vec4_shift_right::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } template template GLM_FUNC_QUALIFIER tvec4 & tvec4::operator>>=(tvec4 const & v) { return (*this = detail::compute_vec4_shift_right::value, sizeof(T) * 8, detail::is_aligned

::value>::call(*this, tvec4(v))); } // -- Unary constant operators -- template GLM_FUNC_QUALIFIER tvec4 operator+(tvec4 const & v) { return v; } template GLM_FUNC_QUALIFIER tvec4 operator-(tvec4 const & v) { return tvec4(0) -= v; } // -- Binary arithmetic operators -- template GLM_FUNC_QUALIFIER tvec4 operator+(tvec4 const & v, T scalar) { return tvec4(v) += scalar; } template GLM_FUNC_QUALIFIER tvec4 operator+(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) += v2; } template GLM_FUNC_QUALIFIER tvec4 operator+(T scalar, tvec4 const & v) { return tvec4(v) += scalar; } template GLM_FUNC_QUALIFIER tvec4 operator+(tvec1 const & v1, tvec4 const & v2) { return tvec4(v2) += v1; } template GLM_FUNC_QUALIFIER tvec4 operator+(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) += v2; } template GLM_FUNC_QUALIFIER tvec4 operator-(tvec4 const & v, T scalar) { return tvec4(v) -= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator-(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) -= v2; } template GLM_FUNC_QUALIFIER tvec4 operator-(T scalar, tvec4 const & v) { return tvec4(scalar) -= v; } template GLM_FUNC_QUALIFIER tvec4 operator-(tvec1 const & v1, tvec4 const & v2) { return tvec4(v1.x) -= v2; } template GLM_FUNC_QUALIFIER tvec4 operator-(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) -= v2; } template GLM_FUNC_QUALIFIER tvec4 operator*(tvec4 const & v, T scalar) { return tvec4(v) *= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator*(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) *= v2; } template GLM_FUNC_QUALIFIER tvec4 operator*(T scalar, tvec4 const & v) { return tvec4(v) *= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator*(tvec1 const & v1, tvec4 const & v2) { return tvec4(v2) *= v1; } template GLM_FUNC_QUALIFIER tvec4 operator*(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) *= v2; } template GLM_FUNC_QUALIFIER tvec4 operator/(tvec4 const & v, T scalar) { return tvec4(v) /= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator/(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) /= v2; } template GLM_FUNC_QUALIFIER tvec4 operator/(T scalar, tvec4 const & v) { return tvec4(scalar) /= v; } template GLM_FUNC_QUALIFIER tvec4 operator/(tvec1 const & v1, tvec4 const & v2) { return tvec4(v1.x) /= v2; } template GLM_FUNC_QUALIFIER tvec4 operator/(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) /= v2; } // -- Binary bit operators -- template GLM_FUNC_QUALIFIER tvec4 operator%(tvec4 const & v, T scalar) { return tvec4(v) %= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator%(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) %= v2.x; } template GLM_FUNC_QUALIFIER tvec4 operator%(T scalar, tvec4 const & v) { return tvec4(scalar) %= v; } template GLM_FUNC_QUALIFIER tvec4 operator%(tvec1 const & scalar, tvec4 const & v) { return tvec4(scalar.x) %= v; } template GLM_FUNC_QUALIFIER tvec4 operator%(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) %= v2; } template GLM_FUNC_QUALIFIER tvec4 operator&(tvec4 const & v, T scalar) { return tvec4(v) &= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator&(tvec4 const & v, tvec1 const & scalar) { return tvec4(v) &= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator&(T scalar, tvec4 const & v) { return tvec4(scalar) &= v; } template GLM_FUNC_QUALIFIER tvec4 operator&(tvec1 const & v1, tvec4 const & v2) { return tvec4(v1.x) &= v2; } template GLM_FUNC_QUALIFIER tvec4 operator&(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) &= v2; } template GLM_FUNC_QUALIFIER tvec4 operator|(tvec4 const & v, T scalar) { return tvec4(v) |= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator|(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) |= v2.x; } template GLM_FUNC_QUALIFIER tvec4 operator|(T scalar, tvec4 const & v) { return tvec4(scalar) |= v; } template GLM_FUNC_QUALIFIER tvec4 operator|(tvec1 const & v1, tvec4 const & v2) { return tvec4(v1.x) |= v2; } template GLM_FUNC_QUALIFIER tvec4 operator|(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) |= v2; } template GLM_FUNC_QUALIFIER tvec4 operator^(tvec4 const & v, T scalar) { return tvec4(v) ^= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator^(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) ^= v2.x; } template GLM_FUNC_QUALIFIER tvec4 operator^(T scalar, tvec4 const & v) { return tvec4(scalar) ^= v; } template GLM_FUNC_QUALIFIER tvec4 operator^(tvec1 const & v1, tvec4 const & v2) { return tvec4(v1.x) ^= v2; } template GLM_FUNC_QUALIFIER tvec4 operator^(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) ^= v2; } template GLM_FUNC_QUALIFIER tvec4 operator<<(tvec4 const & v, T scalar) { return tvec4(v) <<= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator<<(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) <<= v2.x; } template GLM_FUNC_QUALIFIER tvec4 operator<<(T scalar, tvec4 const & v) { return tvec4(scalar) <<= v; } template GLM_FUNC_QUALIFIER tvec4 operator<<(tvec1 const & v1, tvec4 const & v2) { return tvec4(v1.x) <<= v2; } template GLM_FUNC_QUALIFIER tvec4 operator<<(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) <<= v2; } template GLM_FUNC_QUALIFIER tvec4 operator>>(tvec4 const & v, T scalar) { return tvec4(v) >>= scalar; } template GLM_FUNC_QUALIFIER tvec4 operator>>(tvec4 const & v1, tvec1 const & v2) { return tvec4(v1) >>= v2.x; } template GLM_FUNC_QUALIFIER tvec4 operator>>(T scalar, tvec4 const & v) { return tvec4(scalar) >>= v; } template GLM_FUNC_QUALIFIER tvec4 operator>>(tvec1 const & v1, tvec4 const & v2) { return tvec4(v1.x) >>= v2; } template GLM_FUNC_QUALIFIER tvec4 operator>>(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1) >>= v2; } template GLM_FUNC_QUALIFIER tvec4 operator~(tvec4 const & v) { return detail::compute_vec4_bitwise_not::value, sizeof(T) * 8, detail::is_aligned

::value>::call(v); } // -- Boolean operators -- template GLM_FUNC_QUALIFIER bool operator==(tvec4 const & v1, tvec4 const & v2) { return detail::compute_vec4_equal::value, sizeof(T) * 8, detail::is_aligned

::value>::call(v1, v2); } template GLM_FUNC_QUALIFIER bool operator!=(tvec4 const & v1, tvec4 const & v2) { return detail::compute_vec4_nequal::value, sizeof(T) * 8, detail::is_aligned

::value>::call(v1, v2); } template GLM_FUNC_QUALIFIER tvec4 operator&&(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1.x && v2.x, v1.y && v2.y, v1.z && v2.z, v1.w && v2.w); } template GLM_FUNC_QUALIFIER tvec4 operator||(tvec4 const & v1, tvec4 const & v2) { return tvec4(v1.x || v2.x, v1.y || v2.y, v1.z || v2.z, v1.w || v2.w); } }//namespace glm #if GLM_ARCH != GLM_ARCH_PURE && GLM_HAS_ALIGNED_TYPE # include "type_vec4_simd.inl" #endif