MCPcopy Index your code
hub / github.com/processing/processing / getFloatArray

Method getFloatArray

core/src/processing/opengl/PGL.java:2631–2637  ·  view source on GitHub ↗
(FloatBuffer buf, float[] arr)

Source from the content-addressed store, hash-verified

2629
2630
2631 protected static void getFloatArray(FloatBuffer buf, float[] arr) {
2632 if (!buf.hasArray() || buf.array() != arr) {
2633 buf.position(0);
2634 buf.get(arr);
2635 buf.rewind();
2636 }
2637 }
2638
2639
2640 protected static void putFloatArray(FloatBuffer buf, float[] arr) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
arrayMethod · 0.45

Tested by

no test coverage detected