diff --git a/point.cpp b/point.cpp index 01ee16fc..40f15c8c 100644 --- a/point.cpp +++ b/point.cpp @@ -145,6 +145,10 @@ util::point::sanity (void) const { } +//----------------------------------------------------------------------------- +template +const util::point util::point::ORIGIN (T {0}); + //----------------------------------------------------------------------------- template util::point diff --git a/point.hpp b/point.hpp index 2e3693b6..d93dd09d 100644 --- a/point.hpp +++ b/point.hpp @@ -61,6 +61,8 @@ namespace util { template point redim (void) const; + static const point ORIGIN; + void sanity (void) const; };