expandByPoint method
point - Vector3 that should be included in the
box.
Expands the boundaries of this box to include point.
Implementation
BoundingBox expandByPoint(Vector3 point) {
min.min(point);
max.max(point);
return this;
}
point - Vector3 that should be included in the
box.
Expands the boundaries of this box to include point.
BoundingBox expandByPoint(Vector3 point) {
min.min(point);
max.max(point);
return this;
}