Searched refs:xCoordinates (Results 1 – 2 of 2) sorted by relevance
359 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument360 int total = xCoordinates.length; in convertToConvexArray()370 if (xCoordinates[i] <= -1) { in convertToConvexArray()378 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray()385 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()394 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()398 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()
618 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument619 int total = xCoordinates.length; in convertToConvexArray()629 if (xCoordinates[i] <= -1) { in convertToConvexArray()637 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray()644 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()653 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()657 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()