height = fMinZ * (fMaxY - fMinY) * 0.5;
final Vector3 newCenter = Vector3.fetchTempInstance();
position.set((fMinX + fMaxX) * 0.5, (fMinY + fMaxY) * 0.5, 1.0, 1);
shadowCam.getModelViewProjectionInverseMatrix().applyPre(position, position);
position.divideLocal(position.getW());
newCenter.set(position.getX(), position.getY(), position.getZ());
shadowCam.lookAt(newCenter, Vector3.UNIT_Y);
Vector3.releaseTempInstance(newCenter);