Code example for FloatBuffer

Methods: put

0
	/** 
	 * Copy with JNI for devices prior GINGERBREAD(api 9), put for newer versions(HTC Sensation has faster put(float[]) )   
	 */ 
	public static void copyFloats(float[] src, int srcOffset, FloatBuffer dst, int numElements) {
		if(Build.VERSION.SDK_INT >= 9) {
			dst.put(src, srcOffset, numElements);
		} else { 
			com.badlogic.gdx.utils.BufferUtils.copy(src, srcOffset, dst, numElements);
		} 
	} 
}