v2
Create a vector (x,y)
v2(
[x],
[y]
) -> VECTOR (dict x,y)
Create a vector (x,y)
Syntaxe
var vec = v2(1,2);
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
x | - | - | Number (if omitted, creates zero vector) | |
y | - | - | Number (if omitted, same as x) |