diff --git a/point.hpp b/point.hpp index 5faf9df0..ff857d8a 100644 --- a/point.hpp +++ b/point.hpp @@ -61,10 +61,12 @@ namespace util { std::ostream& operator<< (std::ostream&, point); // Convenience typedefs + template using point1 = point<1,T>; template using point2 = point<2,T>; template using point3 = point<3,T>; template using point4 = point<4,T>; + typedef point1 point1f; typedef point2 point2f; typedef point3 point3f; typedef point4 point4f; @@ -73,6 +75,7 @@ namespace util { typedef point3 point3d; typedef point4 point4d; + typedef point1 point1u; typedef point2 point2u; typedef point3 point3u; typedef point4 point4u;