Returns the vector's components as an array of numbers.
उदाहरण
सिंटैक्स
array()
array(v)
पैरामीटर्स
v
p5.Vector:
the vector to convert to an array
Returns
Number[]: array with the vector's components.
This page is generated from the comments in src/math/p5.Vector.js . Please feel free to edit it and submit a pull request!