setFrom method

BoundingBox setFrom(
  1. BoundingBox box
)

box - BoundingBox to copy.

Copies the min and max from box to this box.

Implementation

BoundingBox setFrom(BoundingBox box) {
  min.setFrom(box.min);
  max.setFrom(box.max);

  return this;
}