corrected function preambles

This commit is contained in:
Ben Cragg 2019-02-14 14:15:26 +00:00
parent b61602cdf4
commit cc9f03d393
1 changed files with 2 additions and 2 deletions

View File

@ -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 {