MCPcopy Create free account
hub / github.com/SimonBuxx/LogiJS / vToNArray

Function vToNArray

libraries/p5.js:43377–43381  ·  view source on GitHub ↗

* turn a p5.Vector Array into a one dimensional number array * @param {p5.Vector[]} arr an array of p5.Vector * @return {Number[]} a one dimensional array of numbers * [p5.Vector(1, 2, 3), p5.Vector(4, 5, 6)] -> * [1, 2, 3, 4, 5, 6]

(arr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

p5.jsFile · 0.85

Calls 1

flattenFunction · 0.70

Tested by

no test coverage detected