list_to_v2
Convert a list of coordinates to a list of vectors
list_to_v2(
coords
) -> LIST of vectors
Convert a list of coordinates to a list of vectors
Syntaxe
var vectors = list_to_v2([25, 160, 90, 75]);
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
coords | yes | - | List of coordinates [x1,y1, x2,y2, ...] |