float camMinHeight = page.getHeight(cam.getLocation()) + 2f;
float characterMinHeight = page.getHeight(m_character .getLocalTranslation())+((BoundingBox)m_character.getWorldBound()).yExtent; if (!Float.isInfinite(characterMinHeight) && !Float.isNaN(characterMinHeight)) { m_character.getLocalTranslation().y = characterMinHeight; }  float camMinHeight = characterMinHeight + 150f;
    protected void simpleUpdate() {        chaser.update(tpf);        float camMinHeight = page.getHeight(cam.getLocation()) + 2f;        if (!Float.isInfinite(camMinHeight) && !Float.isNaN(camMinHeight)                && cam.getLocation().y <= camMinHeight) {            cam.getLocation().y = camMinHeight;            cam.update();        }        float characterMinHeight = page.getHeight(m_character                .getLocalTranslation())+((BoundingBox)m_character.getWorldBound()).yExtent;        if (!Float.isInfinite(characterMinHeight) && !Float.isNaN(characterMinHeight)) {            m_character.getLocalTranslation().y = characterMinHeight;        }        if (KeyBindingManager.getKeyBindingManager().isValidCommand(                "toggle_shadows", false)) {            sPass.setRenderShadows(!sPass.getRenderShadows());        }    }