diff --git a/geom/segment.hpp b/geom/segment.hpp index 8c4b1032..32bd6b8a 100644 --- a/geom/segment.hpp +++ b/geom/segment.hpp @@ -19,6 +19,9 @@ namespace cruft::geom { }; + using segment2i = segment<2,int>; + using segment3i = segment<3,int>; + using segment2f = segment<2,float>; using segment3f = segment<3,float>; @@ -47,4 +50,4 @@ namespace cruft::geom { { return std::sqrt (distance2 (s, p)); } -}; +}