From cc9f03d3937a4eba4cbc5187e0b6a22c63979bfc Mon Sep 17 00:00:00 2001 From: Ben Cragg Date: Thu, 14 Feb 2019 14:15:26 +0000 Subject: [PATCH] corrected function preambles --- geometry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geometry.go b/geometry.go index 8cd49e8..465cc2f 100644 --- a/geometry.go +++ b/geometry.go @@ -322,7 +322,7 @@ func (r Rect) Intersect(s Rect) Rect { // and the Rect intersecting. This function returns a zero-vector if the Circle and Rect do not overlap, and if only // the perimeters touch. // -// This function will return true if: +// This function will return a non-zero vector if: // - The Rect contains the Circle, partially or fully // - The Circle contains the Rect, partially of fully func (r Rect) IntersectCircle(c Circle) Vec { @@ -480,7 +480,7 @@ func (c Circle) Intersect(d Circle) Circle { // and the Rect intersecting. This function returns a zero-vector if the Circle and Rect do not overlap, and if only // the perimeters touch. // -// This function will return true if: +// This function will return a non-zero vector if: // - The Rect contains the Circle, partially or fully // - The Circle contains the Rect, partially of fully func (c Circle) IntersectRect(r Rect) Vec {