public static void normalizeVector3(FloatBuffer buf, int index) {
        TempVars vars = TempVars.get();
        Vector3f tempVec3 = vars.vect1;
        populateFromBuffer(tempVec3, buf, index);
        tempVec3.normalizeLocal();
        setInBuffer(tempVec3, buf, index);
        vars.release();
    }
Normalize a Vector3f in-buffer.

@param buf
           the buffer to find the Vector3f within
@param index
           the position (in terms of vectors, not floats) of the vector
           to normalize
jme3-core/src/main/java/com/jme3/util/BufferUtils.java