public static boolean equals(Vector3f check, FloatBuffer buf, int index) {
        TempVars vars = TempVars.get();
        Vector3f tempVec3 = vars.vect1;
        populateFromBuffer(tempVec3, buf, index);
        boolean eq = tempVec3.equals(check);
        vars.release();
        return eq;
    }
Checks to see if the given Vector3f is equals to the data stored in the
buffer at the given data index.

@param check
           the vector to check against - null will return false.
@param buf
           the buffer to compare data with
@param index
           the position (in terms of vectors, not floats) of the vector
           in the buffer to check against
@return true if the data is equivalent, otherwise false.
jme3-core/src/main/java/com/jme3/util/BufferUtils.java