public static void checkMinMax(Vector3f min, Vector3f max, Vector3f point) {
        if (point.x < min.x) {
            min.x = point.x;
        }
        if (point.x > max.x) {
            max.x = point.x;
        }
        if (point.y < min.y) {
            min.y = point.y;
        }
        if (point.y > max.y) {
            max.y = point.y;
        }
        if (point.z < min.z) {
            min.z = point.z;
        }
        if (point.z > max.z) {
            max.z = point.z;
        }
    }
<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/BoundingBox.java