docs changes

changed wording to match zero-vector returns in other functions.
This commit is contained in:
Tsukinai 2019-05-24 12:25:35 -06:00
parent 285676ca17
commit ba6fc7db8a
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ func (r Rect) Union(s Rect) Rect {
// Intersect returns the maximal Rect which is covered by both r and s. Rects r and s must be normalized.
//
// If r and s don't overlap, this function returns a ZR.
// If r and s don't overlap, this function returns a zero-rectangle.
func (r Rect) Intersect(s Rect) Rect {
t := R(
math.Max(r.Min.X, s.Min.X),