PLAYGROUND (experimental)

list_to_v2

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

NameRequiredDefaultDescription
coordsyes-List of coordinates [x1,y1, x2,y2, ...]