From b8a287a654ac74771b4664b670f610dead6122a5 Mon Sep 17 00:00:00 2001 From: faiface Date: Sun, 21 May 2017 19:38:21 +0200 Subject: [PATCH] clarify Rect doc --- geometry.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geometry.go b/geometry.go index b55d13b..f934839 100644 --- a/geometry.go +++ b/geometry.go @@ -145,6 +145,8 @@ type Rect struct { } // R returns a new Rect with given the Min and Max coordinates. +// +// Note that the returned rectangle is not automatically normalized. func R(minX, minY, maxX, maxY float64) Rect { return Rect{ Min: V(minX, minY),