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()
613 float lastAngle = Float.MAX_VALUE; in convertToConvexArray() local621 if (lastAngle == Float.MAX_VALUE) { in convertToConvexArray()628 if ((currentAngle - lastAngle) * direction < 0) { in convertToConvexArray()640 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()643 angles[j] = lastAngle; in convertToConvexArray()644 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()