]> Shamusworld >> Repos - architektonas/blobdiff - src/vector.h
Preliminary support for Polylines.
[architektonas] / src / vector.h
index c3d6a4df89e4d750c42e91f3661ea4739c52d785..97985c50aeb5286f15cf80efcff444c51c3e00dc 100644 (file)
@@ -58,6 +58,7 @@ class Vector
                static double Parameter(Vector v1, Vector v2, Vector p);
                static Vector Normal(Vector v1, Vector v2);
                static double AngleBetween(Vector a, Vector b);
+               static Point Midpoint(Point p1, Point p2);
 
        public:
                double x, y, z;