expandByPoint method

void expandByPoint(
  1. Vector3 pt
)

Make this AABB larger by this point

Implementation

void expandByPoint(Vector3 pt){
		List<double> te = elements;
		set(
			math.min(te[ 0 ], pt.x), math.min(te[ 1 ], pt.y), math.min(te[ 2 ], pt.z),
			math.max(te[ 3 ], pt.x), math.max(te[ 4 ], pt.y), math.max(te[ 5 ], pt.z)
		);
	}