v2_to_list
Convert a list of vectors to a list of coordinates
v2_to_list(
vectors
) -> LIST
Convert a list of vectors to a list of coordinates
Syntaxe
var coords = v2_to_list([{x:25, y:160}, {x:90, y:75}]);
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
vectors | yes | - | List of vectors [{x:25, y:160}, {x:90, y:75}, ...] |