(FloatBuffer buf, float[] arr)
| 2686 | |
| 2687 | |
| 2688 | protected static void getFloatArray(FloatBuffer buf, float[] arr) { |
| 2689 | if (!buf.hasArray() || buf.array() != arr) { |
| 2690 | buf.position(0); |
| 2691 | buf.get(arr); |
| 2692 | buf.rewind(); |
| 2693 | } |
| 2694 | } |
| 2695 | |
| 2696 | |
| 2697 | protected static void putFloatArray(FloatBuffer buf, float[] arr) { |