Searched refs:lastDistance (Results 1 – 6 of 6) sorted by relevance
64 private float lastDistance = 0f; field in LodControl137 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()
61 if (l1.lastDistance < l2.lastDistance)63 else if (l1.lastDistance > l2.lastDistance)
63 lastDistance = bv.distanceSquaredTo(position); in computeLastDistance()65 lastDistance = owner.getWorldTranslation().distanceSquared(position); in computeLastDistance()
81 lastDistance = bv.distanceSquaredTo(position); in computeLastDistance()83 lastDistance = owner.getWorldTranslation().distanceSquared(position); in computeLastDistance()
56 lastDistance = 0; // directional lights are always closest to their owner in computeLastDistance()
101 protected transient float lastDistance = -1; field in Light