point: add constant sized convenience typedefs

This commit is contained in:
Danny Robson 2015-10-06 15:19:06 +11:00
parent a03d407204
commit 31b59df97a

View File

@ -69,6 +69,9 @@ namespace util {
template <typename T> using point3 = point<3,T>;
template <typename T> using point4 = point<4,T>;
template <size_t S> using pointi = point<S,intmax_t>;
template <size_t S> using pointf = point<S,float>;
typedef point1<float> point1f;
typedef point2<float> point2f;
typedef point3<float> point3f;