|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Smart alias that selects the optimized struct based on N. More...
#include "RType/Math/Vec2.hpp"#include "RType/Math/Vec3.hpp"#include "RType/Math/Vec4.hpp"#include "RType/Math/details/VecN.hpp"#include <type_traits>Go to the source code of this file.
Namespaces | |
| namespace | rtp |
Typedefs | |
| template<Numeric T, std::size_t N> | |
| using | rtp::Vec = 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 > > > > |
| Smart alias that selects the optimized struct based on N. | |
Smart alias that selects the optimized struct based on N.
Definition in file Vec.hpp.