copy method

Box2 copy(
  1. Box2 box
)

Implementation

Box2 copy(Box2 box) {
  min.copy(box.min);
  max.copy(box.max);

  return this;
}