39#ifndef RTYPE_VEC4_HPP_
40 #define RTYPE_VEC4_HPP_
60 constexpr Vec4(
void) =
default;
79 constexpr auto &
operator[](
this auto &self,
size_t index)
noexcept;
Assertion and verification macros for runtime checks.
Declaration of the CRTP base vector class.
constexpr ~Vec4()=default
Default destructor.
constexpr bool operator==(const Vec4 &) const noexcept=default
Checks if two vectors are exactly equal.
constexpr Vec4(void)=default
Default constructor.
constexpr Vec4(T x, T y, T z, T w) noexcept
Parameterized constructor.
constexpr auto & operator[](this auto &self, size_t index) noexcept
Accesses the coordinate at the specified index.
CRTP base class for vectors.