proc extents*(self: RectangleShape2D): Vector2 {.gcsafe, locks: 0.}
proc `extents =`*(self: RectangleShape2D; val: Vector2) {.gcsafe, locks: 0.}