This class describes a two-dimensional integer vector.
Property | Type | Description |
---|---|---|
x, width | number | x component of the vector |
y, height | number | y component of the vector |
iVec2 | Constructor | iVec2(number x) |
iVec2 | Constructor | iVec2(number x, number y) |