Home
last modified time | relevance | path

Searched refs:splitMin (Results 1 – 1 of 1) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DShadowUtil.java292 Vector3f splitMin = splitBB.getMin(null); in updateShadowCamera() local
301 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()
306 offsetZ = -splitMin.z * scaleZ; in updateShadowCamera()
433 Vector3f splitMin = splitBB.getMin(null); in updateShadowCamera() local
436 splitMin.z = 0; in updateShadowCamera()
448 cropMin.x = max(max(casterMin.x, receiverMin.x), splitMin.x); in updateShadowCamera()
[all …]