Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLodControl.java64 private float lastDistance = 0f; field in LodControl
137 clone.lastDistance = 0; in cloneForSpatial()
159 if (Math.abs(newDistance - lastDistance) <= distTolerance) in controlRender()
161 else if (lastDistance > newDistance && lastLevel == 0) in controlRender()
163 else if (lastDistance < newDistance && lastLevel == numLevels - 1) in controlRender()
166 lastDistance = newDistance; in controlRender()
169 float area = AreaUtils.calcScreenArea(bv, lastDistance, cam.getWidth()); in controlRender()
/external/jmonkeyengine/engine/src/core/com/jme3/light/
DLightList.java61 if (l1.lastDistance < l2.lastDistance)
63 else if (l1.lastDistance > l2.lastDistance)
DPointLight.java63 lastDistance = bv.distanceSquaredTo(position); in computeLastDistance()
65 lastDistance = owner.getWorldTranslation().distanceSquared(position); in computeLastDistance()
DSpotLight.java81 lastDistance = bv.distanceSquaredTo(position); in computeLastDistance()
83 lastDistance = owner.getWorldTranslation().distanceSquared(position); in computeLastDistance()
DDirectionalLight.java56 lastDistance = 0; // directional lights are always closest to their owner in computeLastDistance()
DLight.java101 protected transient float lastDistance = -1; field in Light