private float avg(float[] arr) {
        float amt = 0f;
        for(float f : arr) amt += f;
        return amt / arr.length;
    }
Create a new VR mouse manager within the given {@link VREnvironment VR environment}.
@param environment the VR environment of the mouse manager.
jme3-vr/src/main/java/com/jme3/input/vr/oculus/OculusMouseManager.java