Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLodControl.java156 float newDistance = bv.distanceTo(vp.getCamera().getLocation()) / ratio; in controlRender() local
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()
/external/lzma/C/
DLzmaEnc.c1572 UInt32 newDistance = matches[p->numPairs - 1]; in GetOptimumFast() local
1573 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()