Searched refs:splitMax (Results 1 – 1 of 1) sorted by relevance
293 Vector3f splitMax = splitBB.getMax(null); in updateShadowCamera() local301 scaleX = 2.0f / (splitMax.x - splitMin.x); in updateShadowCamera()302 scaleY = 2.0f / (splitMax.y - splitMin.y); in updateShadowCamera()303 offsetX = -0.5f * (splitMax.x + splitMin.x) * scaleX; in updateShadowCamera()304 offsetY = -0.5f * (splitMax.y + splitMin.y) * scaleY; in updateShadowCamera()305 scaleZ = 1.0f / (splitMax.z - splitMin.z); in updateShadowCamera()434 Vector3f splitMax = splitBB.getMax(null); in updateShadowCamera() local439 shadowCam.setFrustumPerspective(45, 1, 1, splitMax.z); in updateShadowCamera()449 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()[all …]