37#ifndef RTYPE_VECTOR_HPP_
38 #define RTYPE_VECTOR_HPP_
44 #include <type_traits>
51 template <Numeric T, std::
size_t N>
52 using Vec = std::conditional_t<N == 2, Vec2<T>,
53 std::conditional_t<N == 3, Vec3<T>,
54 std::conditional_t<N == 4, Vec4<T>,
55 details::VecN<T, N>>>>;
Declaration of the 2-dimensional vector class.
Declaration of the 3-dimensional vector class.
Declaration of the 4-dimensional vector class.
std::conditional_t< N==2, Vec2< T >, std::conditional_t< N==3, Vec3< T >, std::conditional_t< N==4, Vec4< T >, details::VecN< T, N > > > > Vec
Smart alias that selects the optimized struct based on N.