diff --git a/geometry.go b/geometry.go index eb87ede3c229dc3797e078efbc1d6869e5774142..c7d857129d833177de5b6d499686daff89e8f621 100644 --- a/geometry.go +++ b/geometry.go @@ -314,7 +314,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 { @@ -472,7 +472,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 {