@Override
    protected boolean checkCulling(Camera viewCam) {

        if (light == null) {
            return false;
        }

        Camera cam = viewCam;
        if(frustumCam != null){
            cam = frustumCam;            
            cam.setLocation(viewCam.getLocation());
            cam.setRotation(viewCam.getRotation());
        }
        TempVars vars = TempVars.get();
        boolean intersects = light.intersectsFrustum(cam,vars);
        vars.release();
        return intersects;
    }
@param viewCam a Camera to define the view frustum
@return true if intersects
jme3-core/src/main/java/com/jme3/shadow/PointLightShadowRenderer.java