remove auto norm from R (Rect constructor)
This commit is contained in:
parent
379b4df667
commit
5d98f28ca0
|
@ -162,7 +162,7 @@ func R(minX, minY, maxX, maxY float64) Rect {
|
||||||
return Rect{
|
return Rect{
|
||||||
Min: V(minX, minY),
|
Min: V(minX, minY),
|
||||||
Max: V(maxX, maxY),
|
Max: V(maxX, maxY),
|
||||||
}.Norm()
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Norm returns the Rect in normal form, such that Max is component-wise greater or equal than Min.
|
// Norm returns the Rect in normal form, such that Max is component-wise greater or equal than Min.
|
||||||
|
|
Loading…
Reference in New Issue