public void computeFromTris(Triangle[] tris, int start, int end) {
        if (end - start <= 0) {
            return;
        }

        Vector3f[] vertList = new Vector3f[(end - start) * 3];

        int count = 0;
        for (int i = start; i < end; i++) {
            vertList[count++] = tris[i].get(0);
            vertList[count++] = tris[i].get(1);
            vertList[count++] = tris[i].get(2);
        }
        averagePoints(vertList);
    }
<code>computeFromTris</code> creates a new Bounding Box from a given
set of triangles. It is used in OBBTree calculations.

@param tris triangle data (unaffected)
@param start the index of the first triangle to be used
@param end the index of the triangle after the last one to be used
jme3-core/src/main/java/com/jme3/bounding/BoundingSphere.java