new Vec2(x, y)
Parameters:
Name | Type | Description |
---|---|---|
x |
number | the x coordinate of the vector |
y |
number | the y coordinate of the vector |
- Source:
Name | Type | Description |
---|---|---|
x |
number | the x coordinate of the vector |
y |
number | the y coordinate of the vector |