vector: add constant sized convenience typedefs
This commit is contained in:
parent
31b59df97a
commit
7753e37dc3
@ -77,6 +77,9 @@ namespace util {
|
||||
template <typename T> using vector3 = vector<3,T>;
|
||||
template <typename T> using vector4 = vector<4,T>;
|
||||
|
||||
template <size_t S> using vectori = vector<S,intmax_t>;
|
||||
template <size_t S> using vectorf = vector<S,float>;
|
||||
|
||||
typedef vector2<size_t> vector2u;
|
||||
typedef vector3<size_t> vector3u;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user