Searched refs:newDistance (Results 1 – 2 of 2) sorted by relevance
156 float newDistance = bv.distanceTo(vp.getCamera().getLocation()) / ratio; in controlRender() local159 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()
1572 UInt32 newDistance = matches[p->numPairs - 1]; in GetOptimumFast() local1573 if ((p->longestMatchLength >= mainLen && newDistance < mainDist) || in GetOptimumFast()1574 (p->longestMatchLength == mainLen + 1 && !ChangePair(mainDist, newDistance)) || in GetOptimumFast()1576 (p->longestMatchLength + 1 >= mainLen && mainLen >= 3 && ChangePair(newDistance, mainDist))) in GetOptimumFast()