Searched refs:xCoordinates (Results 1 – 1 of 1) sorted by relevance
540 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument541 int total = xCoordinates.length; in convertToConvexArray()551 if (xCoordinates[i] <= -1) { in convertToConvexArray()559 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray()566 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()575 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()579 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()