Searched refs:cropMin (Results 1 – 1 of 1) sorted by relevance
444 Vector3f cropMin = new Vector3f(); in updateShadowCamera() local448 cropMin.x = max(max(casterMin.x, receiverMin.x), splitMin.x); in updateShadowCamera()451 cropMin.y = max(max(casterMin.y, receiverMin.y), splitMin.y); in updateShadowCamera()454 cropMin.z = min(casterMin.z, splitMin.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()469 offsetZ = -cropMin.z * scaleZ; in updateShadowCamera()