diff --git a/vcg/space/ray2.h b/vcg/space/ray2.h index 1fc36cea..815cae75 100644 --- a/vcg/space/ray2.h +++ b/vcg/space/ray2.h @@ -186,7 +186,7 @@ typedef Ray2 Ray2dN; /// returns closest point template -Point2 ClosestPoint( Ray2 r, const Point3 & p) +Point2 ClosestPoint( Ray2 r, const Point2 & p) { ScalarType t = r.Projection(p); if (t<0) return r.Origin();