shadowQuad.resize(r.getWidth(), r.getHeight()); shadowQuad.setLocalTranslation(new Vector3f(r.getWidth() / 2, r.getHeight() / 2, 0));
if (r.getWidth() == quadWidth && r.getHeight() == quadHeight) return; quadWidth = r.getWidth(); quadHeight = r.getHeight(); shadowQuad.resize(quadWidth, r.getHeight()); shadowQuad.setLocalTranslation(new Vector3f(quadWidth >> 1, quadHeight >> 1, 0));
   public void resetShadowQuad(Renderer r) {       shadowQuad.resize(r.getWidth(), r.getHeight());       shadowQuad.setLocalTranslation(new Vector3f(r.getWidth() / 2, r.getHeight() / 2, 0));       shadowQuad.setRenderQueueMode(Renderer.QUEUE_SKIP);       shadowQuad.updateGeometricState(0, true);       shadowQuad.updateRenderState();          }