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()
605 float[] xCoordinates, int direction, int topY, int bottomY) { in convertToConvexArray() argument606 int total = xCoordinates.length; in convertToConvexArray()616 if (xCoordinates[i] <= -1) { in convertToConvexArray()624 float currentAngle = (xCoordinates[i] - xCoordinates[last]) / (i - last); in convertToConvexArray()631 currentAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()640 lastAngle = (xCoordinates[i] - xCoordinates[start]) / (i - start); in convertToConvexArray()644 xCoordinates[j] = xCoordinates[start] + lastAngle * (j - start); in convertToConvexArray()