classes/class_rect2i #386
Replies: 1 comment 2 replies
-
|
"var b = Rect2i(0, 0, 8, 4).grow(2) # b is Rect2i(-2, -2, 12, 8)" is incorrect; the result should be Rect2i(-2, -2, 10, 6) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_rect2i
A 2D axis-aligned bounding box using integer coordinates. Description: The Rect2i built-in Variant type represents an axis-aligned rectangle in a 2D space, using integer coordinates. It is defined ...
https://docs.godotengine.org/en/4.4/classes/class_rect2i.html
Beta Was this translation helpful? Give feedback.
All reactions