Searched refs:currentLengthSquared (Results 1 – 1 of 1) sorted by relevance
660 float currentLengthSquared = (pivot - polygon[currentIndex]).lengthSquared(); in getClosestUmbraIndex() local661 if (currentLengthSquared < minLengthSquared) { in getClosestUmbraIndex()665 minLengthSquared = currentLengthSquared; in getClosestUmbraIndex()667 } else if (currentLengthSquared > minLengthSquared && hasDecreased) { in getClosestUmbraIndex()726 float currentLengthSquared = in genNewPenumbraAndPairWithUmbra() local733 if (newLengthSquared > currentLengthSquared) { in genNewPenumbraAndPairWithUmbra()738 currentLengthSquared = newLengthSquared; in genNewPenumbraAndPairWithUmbra()