MCPcopy Index your code
hub / github.com/benfry/processing4 / toFloatArray

Method toFloatArray

core/src/processing/data/JSONArray.java:652–658  ·  view source on GitHub ↗

Get this entire array as a float array. Everything must be an float.

()

Source from the content-addressed store, hash-verified

650
651 /** Get this entire array as a float array. Everything must be an float. */
652 public float[] toFloatArray() {
653 float[] outgoing = new float[size()];
654 for (int i = 0; i < size(); i++) {
655 outgoing[i] = getFloat(i);
656 }
657 return outgoing;
658 }
659
660
661 public FloatList toFloatList() {

Callers 2

getFloatArrayMethod · 0.95
toFloatListMethod · 0.95

Calls 2

sizeMethod · 0.95
getFloatMethod · 0.95

Tested by

no test coverage detected