]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/measure.h
Rename Point to Vector
[r2c2.git] / source / designer / measure.h
index 6800ecce307826fa0bcc46d204e0ec84b539b4b4..fc675a6b9a859fed36250140b0715e284f6e093b 100644 (file)
@@ -28,8 +28,8 @@ public:
 
 private:
        Designer &designer;
-       R2C2::Point pointer;
-       R2C2::Point spoint;
+       R2C2::Vector pointer;
+       R2C2::Vector spoint;
        float sdir;
        float par_dist;
        float perp_dist;
@@ -46,7 +46,7 @@ public:
        void pointer_motion(int, int, float, float);
        void render();
 private:
-       void snap_to_tracks(R2C2::Point &, float &);
+       void snap_to_tracks(R2C2::Vector &, float &);
 };
 
 #endif