HomeSort by relevance Sort by last modified time
    Searched refs:lastDistance (Results 1 - 7 of 7) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
LodControl.java 64 private float lastDistance = 0f;
137 clone.lastDistance = 0;
159 if (Math.abs(newDistance - lastDistance) <= distTolerance)
161 else if (lastDistance > newDistance && lastLevel == 0)
163 else if (lastDistance < newDistance && lastLevel == numLevels - 1)
166 lastDistance = newDistance;
169 float area = AreaUtils.calcScreenArea(bv, lastDistance, cam.getWidth());
  /external/jmonkeyengine/engine/src/core/com/jme3/light/
PointLight.java 63 lastDistance = bv.distanceSquaredTo(position);
65 lastDistance = owner.getWorldTranslation().distanceSquared(position);
SpotLight.java 81 lastDistance = bv.distanceSquaredTo(position);
83 lastDistance = owner.getWorldTranslation().distanceSquared(position);
DirectionalLight.java 56 lastDistance = 0; // directional lights are always closest to their owner
Light.java 101 protected transient float lastDistance = -1;
141 public void setLastDistance(float lastDistance){
142 this.lastDistance = lastDistance;
146 return lastDistance;
LightList.java 58 * This assumes lastDistance have been computed in a previous step.
61 if (l1.lastDistance < l2.lastDistance)
63 else if (l1.lastDistance > l2.lastDistance)
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocationClustering.java 230 float lastDistance = 0;
284 if (totalDistance == 0 || (Math.abs(lastDistance - totalDistance)
288 lastDistance = totalDistance;

Completed in 1400 milliseconds