fromPoints method
Computes an AABB that encloses the given set of points.
Implementation
AABB fromPoints(List<Vector3> points ) {
min.set( double.infinity, double.infinity, double.infinity );
max.set( - double.infinity, - double.infinity, - double.infinity );
for ( int i = 0, l = points.length; i < l; i ++ ) {
expand( points[ i ] );
}
return this;
}