GLU.gluOrtho2D(-mode.getWidth() / 2, mode.getWidth() / 2, -mode .getHeight() / 2, mode.getHeight() / 2);
GLU.gluOrtho2D(-width / 2, width / 2, -height / 2, height / 2);
    public void setOrthoCenter() {        if (inOrthoMode) {            throw new JmeException("Already in Orthographic mode.");        }        // set up ortho mode        GL11.glMatrixMode(GL11.GL_PROJECTION);        GL11.glPushMatrix();        GL11.glLoadIdentity();        GLU.gluOrtho2D(-mode.getWidth() / 2, mode.getWidth() / 2, -mode                .getHeight() / 2, mode.getHeight() / 2);        GL11.glMatrixMode(GL11.GL_MODELVIEW);        GL11.glPushMatrix();        GL11.glLoadIdentity();        inOrthoMode = true;    }