normalizeRect
normalizeRect(
rect):WorldRect
Defined in: src/components/primitives/viewport/viewportMath.ts:100
Normalize a rectangle so that width and height are non-negative, adjusting the origin accordingly. Useful for marquee selection where the user may drag in any direction.