(FloatBuffer buf, float[] arr)
| 2638 | |
| 2639 | |
| 2640 | protected static void putFloatArray(FloatBuffer buf, float[] arr) { |
| 2641 | if (!buf.hasArray() || buf.array() != arr) { |
| 2642 | buf.position(0); |
| 2643 | buf.put(arr); |
| 2644 | buf.rewind(); |
| 2645 | } |
| 2646 | } |
| 2647 | |
| 2648 | |
| 2649 | protected static void fillFloatBuffer(FloatBuffer buf, int i0, int i1, |