(FloatBuffer buf, float[] arr)
| 2695 | |
| 2696 | |
| 2697 | protected static void putFloatArray(FloatBuffer buf, float[] arr) { |
| 2698 | if (!buf.hasArray() || buf.array() != arr) { |
| 2699 | buf.position(0); |
| 2700 | buf.put(arr); |
| 2701 | buf.rewind(); |
| 2702 | } |
| 2703 | } |
| 2704 | |
| 2705 | |
| 2706 | protected static void fillFloatBuffer(FloatBuffer buf, int i0, int i1, |