From b8d2a2d3b528d90cd88f96fd4a32b077c98776d5 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 17 Jul 2008 22:00:40 +0000 Subject: convert all SPCurve's points and matrices arguments and return types to 2Geom (bzr r6339) --- src/sp-guide.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-guide.cpp') diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp index 3ffd3eda2..aad26f050 100644 --- a/src/sp-guide.cpp +++ b/src/sp-guide.cpp @@ -339,7 +339,7 @@ Geom::Point sp_guide_position_from_pt(SPGuide const *guide, NR::Point const &pt) double sp_guide_distance_from_pt(SPGuide const *guide, Geom::Point const &pt) { - return dot(pt - guide->point_on_line, guide->normal_to_line); + return Geom::dot(pt - guide->point_on_line, guide->normal_to_line); } /** -- cgit v1.2.3