Searched refs:lastAngle (Results 1 – 2 of 2) sorted by relevance
367 float lastAngle = Float.MAX_VALUE; in convertToConvexArray() local375 if (lastAngle == Float.MAX_VALUE) { in convertToConvexArray()382 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()394 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()397 angles[j] = lastAngle; in convertToConvexArray()398 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()
626 float lastAngle = Float.MAX_VALUE; in convertToConvexArray() local634 if (lastAngle == Float.MAX_VALUE) { in convertToConvexArray()641 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()653 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()656 angles[j] = lastAngle; in convertToConvexArray()657 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()