public static Vector3f[] getVector3Array(FloatBuffer buff) {
        buff.clear();
        Vector3f[] verts = new Vector3f[buff.limit() / 3];
        for (int x = 0; x < verts.length; x++) {
            Vector3f v = new Vector3f(buff.get(), buff.get(), buff.get());
            verts[x] = v;
        }
        return verts;
    }
Generates a Vector3f array from the given FloatBuffer.

@param buff
           the FloatBuffer to read from
@return a newly generated array of Vector3f objects
jme3-core/src/main/java/com/jme3/util/BufferUtils.java