Searched refs:cropMax (Results 1 – 1 of 1) sorted by relevance
445 Vector3f cropMax = new Vector3f(); in updateShadowCamera() local449 cropMax.x = min(min(casterMax.x, receiverMax.x), splitMax.x); in updateShadowCamera()452 cropMax.y = min(min(casterMax.y, receiverMax.y), splitMax.y); in updateShadowCamera()455 cropMax.z = min(receiverMax.z, splitMax.z); in updateShadowCamera()462 scaleX = (2.0f) / (cropMax.x - cropMin.x); in updateShadowCamera()463 scaleY = (2.0f) / (cropMax.y - cropMin.y); in updateShadowCamera()465 offsetX = -0.5f * (cropMax.x + cropMin.x) * scaleX; in updateShadowCamera()466 offsetY = -0.5f * (cropMax.y + cropMin.y) * scaleY; in updateShadowCamera()468 scaleZ = 1.0f / (cropMax.z - cropMin.z); in updateShadowCamera()