set method
min
- Vector3 representing the lower (x, y, z)
boundary of the box.
max
- Vector3 representing the upper (x, y, z)
boundary of the box.
Sets the lower and upper (x, y, z) boundaries of this box.
Please note that this method only copies the values from the given objects.
Implementation
BoundingBox set(Vector3 min, Vector3 max) {
this.min.setFrom(min);
this.max.setFrom(max);
return this;
}