MouseLook mouseLook = new MouseLook(mouse, cam, speed ); mouseLook.setLockAxis(new Vector3f(cam.getUp().x, cam.getUp().y, cam.getUp().z));
mouseLook = new MouseLook(mouse, cam, speed ); mouseLook.setLockAxis(new Vector3f(cam.getUp()));
    public MouseLookHandler( Camera cam, float speed ) {        RelativeMouse mouse = new RelativeMouse("Mouse Input");        mouse.registerWithInputHandler( this );        MouseLook mouseLook = new MouseLook(mouse, cam, speed );        mouseLook.setLockAxis(new Vector3f(cam.getUp().x, cam.getUp().y,                cam.getUp().z));        addAction(mouseLook);    }