BoundingBox.copy constructor

BoundingBox.copy(
  1. BoundingBox box
)

box - BoundingBox to copy.

Copies the min and max from box to this box.

Implementation

BoundingBox.copy(BoundingBox box){
  min = Vector3.copy(box.min);
  max = Vector3.copy(box.max);
}