public static Quaternion quatO2J(OVRQuatf from, Quaternion to) {
        // jME and LibOVR do their coordinate spaces differently for rotations, so flip Y and W (thanks, jMonkeyVR).
        to.set(
                from.x(),
                -from.y(),
                from.z(),
                -from.w()
        );

        to.normalizeLocal();

        return to;
    }
Copy the values from a LibOVR quaternion into a jMonkeyEngine quaternion.

@param from The quaternion to copy from.
@param to   The quaternion to copy to.
@return The {@code to} argument.
jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusVR.java