(FloatBuffer buf, float[] arr)
| 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) { |