package unit type Rectangle[T UnitConstraint] struct { Origin Vec2[T] // The offset of the rectangle. Size Vec2[T] // The dimensions of the rectangle. }