MinieExamples/src/main/java/jme3utilities/minie/test/BalanceDemo.java
/**
     * Configure the camera during startup.
     */
Configure the camera during startup.
Configure the camera during startup .
private void configureCamera() {
        float near = 0.02f;
        float far = 20f;
        MyCamera.setNearFar(cam, near, far);
        flyCam.setDragToRotate(true);
        flyCam.setMoveSpeed(2f);
        flyCam.setZoomSpeed(2f);
        cam.setLocation(new Vector3f(-3.3f, 1.5f, -0.1f));
        cam.setRotation(new Quaternion(0.08f, 0.687f, -0.06f, 0.72f));
        CameraOrbitAppState orbitState
                = new CameraOrbitAppState(cam, "orbitLeft", "orbitRight");
        stateManager.attach(orbitState);
    }
private void configureCamera ( ) { float near = 0.02f ; float far = 20f ; MyCamera . setNearFar ( cam , near , far ) ; flyCam . setDragToRotate ( true ) ; flyCam . setMoveSpeed ( 2f ) ; flyCam . setZoomSpeed ( 2f ) ; cam . setLocation ( new Vector3f ( - 3.3f , 1.5f , - 0.1f ) ) ; cam . setRotation ( new Quaternion ( 0.08f , 0.687f , - 0.06f , 0.72f ) ) ; CameraOrbitAppState orbitState = new CameraOrbitAppState ( cam , "orbitLeft" , "orbitRight" ) ; stateManager . attach ( orbitState ) ; }
Configure the camera during startup.
Configure the camera during startup .