A plain two-float struct with x and y, used as an interface type: a procedure taking $T/interface AnyVector2 accepts any struct with those fields, not just Vector2.
Fields
- x: float
- y: float
A plain two-float struct with x and y, used as an interface type: a procedure taking $T/interface AnyVector2 accepts any struct with those fields, not just Vector2.