MinieExamples/src/main/java/jme3utilities/minie/test/TargetDemo.java
/**
     * Configure the camera during startup.
     */
Configure the camera during startup.
Configure the camera during startup .
private void configureCamera() {
        float near = 0.1f;
        float far = 500f;
        MyCamera.setNearFar(cam, near, far);
        flyCam.setDragToRotate(true);
        flyCam.setMoveSpeed(10f);
        flyCam.setZoomSpeed(10f);
        cam.setLocation(new Vector3f(0f, platformTopY + 20f, 40f));
        cam.setRotation(new Quaternion(0f, 0.9649f, -0.263f, 0f));
        CameraOrbitAppState orbitState
                = new CameraOrbitAppState(cam, "orbitLeft", "orbitRight");
        stateManager.attach(orbitState);
    }
private void configureCamera ( ) { float near = 0.1f ; float far = 500f ; MyCamera . setNearFar ( cam , near , far ) ; flyCam . setDragToRotate ( true ) ; flyCam . setMoveSpeed ( 10f ) ; flyCam . setZoomSpeed ( 10f ) ; cam . setLocation ( new Vector3f ( 0f , platformTopY + 20f , 40f ) ) ; cam . setRotation ( new Quaternion ( 0f , 0.9649f , - 0.263f , 0f ) ) ; CameraOrbitAppState orbitState = new CameraOrbitAppState ( cam , "orbitLeft" , "orbitRight" ) ; stateManager . attach ( orbitState ) ; }
Configure the camera during startup.
Configure the camera during startup .