setFromPoints method

BoundingBox setFromPoints(
  1. List<Vector3> points
)

Implementation

BoundingBox setFromPoints(List<Vector3> points) {
  empty();

  for (int i = 0, il = points.length; i < il; i++) {
    expandByPoint(points[i]);
  }

  return this;
}