MinieExamples/src/main/java/jme3utilities/minie/test/RopeDemo.java
/**
     * Configure the camera during startup.
     */
Configure the camera during startup.
Configure the camera during startup .
private void configureCamera() {
        float near = 0.1f * ropeRadius;
        float far = 250f;
        MyCamera.setNearFar(cam, near, far);
        flyCam.setDragToRotate(true);
        flyCam.setMoveSpeed(25f);
        flyCam.setZoomSpeed(25f);
        cam.setLocation(new Vector3f(0f, 33f, 55f));
        cam.setRotation(new Quaternion(0f, 0.982f, -0.188f, 0f));
        CameraOrbitAppState orbitState
                = new CameraOrbitAppState(cam, "orbitLeft", "orbitRight");
        stateManager.attach(orbitState);
    }
private void configureCamera ( ) { float near = 0.1f * ropeRadius ; float far = 250f ; MyCamera . setNearFar ( cam , near , far ) ; flyCam . setDragToRotate ( true ) ; flyCam . setMoveSpeed ( 25f ) ; flyCam . setZoomSpeed ( 25f ) ; cam . setLocation ( new Vector3f ( 0f , 33f , 55f ) ) ; cam . setRotation ( new Quaternion ( 0f , 0.982f , - 0.188f , 0f ) ) ; CameraOrbitAppState orbitState = new CameraOrbitAppState ( cam , "orbitLeft" , "orbitRight" ) ; stateManager . attach ( orbitState ) ; }
Configure the camera during startup.
Configure the camera during startup .