List of utility methods to do FloatBuffer Copy
FloatBuffer | copyFloatBuffer(FloatBuffer paramFloatBuffer) copy Float Buffer return copyFloatBufferAsByteBuffer(paramFloatBuffer)
.asFloatBuffer();
|
void | copyInternal(final FloatBuffer buf, final int fromPos, final int toPos, final int length) Copies floats from one position in the buffer to another. final float[] data = new float[length]; buf.position(fromPos); buf.get(data); buf.position(toPos); buf.put(data); |
void | copyInternalVector3(final FloatBuffer buf, final int fromPos, final int toPos) Copies a Vector3 from one position in the buffer to another. copyInternal(buf, fromPos * 3, toPos * 3, 3); |