From 287c6c4505fa524661cb2cd3692734cc60b7eb7e Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 4 Mar 2020 13:50:18 +0000 Subject: [PATCH] Geom: Fixed VecLine::Clip git-svn-id: svn://ultimatepp.org/upp/trunk@14123 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Geom/geometry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Geom/geometry.h b/uppsrc/Geom/geometry.h index 671b1fab2..073f2a075 100644 --- a/uppsrc/Geom/geometry.h +++ b/uppsrc/Geom/geometry.h @@ -286,7 +286,7 @@ public: Pointf Intersect(VecLine another) const; VecLine& SetClip(const Rectf& rect); - VecLine Clip(const Rectf& rect) const { return VecLine(*this).Clip(rect); } + VecLine Clip(const Rectf& rect) const { return VecLine(*this).SetClip(rect); } double Distance(Pointf point, double *arg = NULL) const;