diff --git a/geometry.go b/geometry.go index 82d1c6e99fa484bd69ebbdc507e02479bde8b81a..e4427fbb8674ff8d2be647e1b7f404929c08bbe6 100644 --- a/geometry.go +++ b/geometry.go @@ -162,7 +162,7 @@ func R(minX, minY, maxX, maxY float64) Rect { return Rect{ Min: V(minX, minY), Max: V(maxX, maxY), - }.Norm() + } } // Norm returns the Rect in normal form, such that Max is component-wise greater or equal than Min.