Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/shadow/
DShadowUtil.java65 public static void updateFrustumPoints2(Camera viewCam, Vector3f[] points) { in updateFrustumPoints2() argument
66 int w = viewCam.getWidth(); in updateFrustumPoints2()
67 int h = viewCam.getHeight(); in updateFrustumPoints2()
68 float n = viewCam.getFrustumNear(); in updateFrustumPoints2()
69 float f = viewCam.getFrustumFar(); in updateFrustumPoints2()
71 points[0].set(viewCam.getWorldCoordinates(new Vector2f(0, 0), n)); in updateFrustumPoints2()
72 points[1].set(viewCam.getWorldCoordinates(new Vector2f(0, h), n)); in updateFrustumPoints2()
73 points[2].set(viewCam.getWorldCoordinates(new Vector2f(w, h), n)); in updateFrustumPoints2()
74 points[3].set(viewCam.getWorldCoordinates(new Vector2f(w, 0), n)); in updateFrustumPoints2()
76 points[4].set(viewCam.getWorldCoordinates(new Vector2f(0, 0), f)); in updateFrustumPoints2()
[all …]
DBasicShadowRenderer.java148 Camera viewCam = viewPort.getCamera(); in postQueue() local
149 ShadowUtil.updateFrustumPoints(viewCam, in postQueue()
150 viewCam.getFrustumNear(), in postQueue()
151 viewCam.getFrustumFar(), in postQueue()
185 renderManager.setCamera(viewCam, false); in postQueue()
DPssmShadowRenderer.java343 Camera viewCam = viewPort.getCamera(); in postQueue() local
347 zFar = viewCam.getFrustumFar(); in postQueue()
351 float frustumNear = Math.max(viewCam.getFrustumNear(), 0.001f); in postQueue()
352 ShadowUtil.updateFrustumPoints(viewCam, frustumNear, zFar, 1.0f, points); in postQueue()
382 … ShadowUtil.updateFrustumPoints(viewCam, splitsArray[i], splitsArray[i + 1], 1.0f, points); in postQueue()
404 renderManager.setCamera(viewCam, false); in postQueue()