@Override
    public void update() {
        /*
         * Updates the labels
         */
        TempVars vars = TempVars.get();
        super.update();
        header.setLocalTranslation(0, cam.getHeight(), 0);
        vars.vect1.set(header.getLocalTranslation());
        vars.vect1.subtractLocal(0, header.getLineHeight(), 0);
        fov.setLocalTranslation(vars.vect1);
        fov.setText("FOV: " + cam.getFov());
        vars.vect1.subtractLocal(0, fov.getLineHeight(), 0);
        vars.release();
    }
Tests the setting of the FOV and aspect ratios.

@author Markil 3
jme3-examples/src/main/java/jme3test/renderer/TestAspectFov.java