Here you can find the source of minX(final float[] vertices)
public static final float minX(final float[] vertices)
//package com.java2s; //License from project: Open Source License public class Main { public static final float minX(final float[] vertices) { float minX = vertices[0]; for (int i = 0; i < vertices.length / 2; i++) { minX = Math.min(minX, vertices[i * 2]); }//from ww w. jav a 2s . c o m return minX; } }