Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/input/
DChaseCamera.java80 protected float targetDistance = distance; field in ChaseCamera
293 targetDistance += value * zoomSpeed; in zoomCamera()
294 if (targetDistance > maxDistance) { in zoomCamera()
295 targetDistance = maxDistance; in zoomCamera()
297 if (targetDistance < minDistance) { in zoomCamera()
298 targetDistance = minDistance; in zoomCamera()
300 if ((targetVRotation < minVerticalRotation) && (targetDistance > (minDistance + 1.0f))) { in zoomCamera()
315 if ((targetVRotation < minVerticalRotation) && (targetDistance > (minDistance + 1.0f))) { in vRotateCamera()
405 … distance = FastMath.interpolateLinear(distanceLerpFactor, distance, targetDistance); in updateCamera()
406 if (targetDistance + 0.01f >= distance && targetDistance - 0.01f <= distance) { in updateCamera()
[all …]