new Creates a new vector and initializes it.(p_x, p_y)
Parameters:
| Name | Type | Argument | Default | Description |
|---|---|---|---|---|
p_x |
Number |
<optional> |
0 | The x-coordinate of the new vector. |
p_y |
Number |
<optional> |
0 | The y-coordinate of the new vector. |
- Source: