copy method

AABB copy(
  1. AABB aabb
)

Copy bounds from an AABB to this AABB @param aabb Source to copy from @return The this object, for chainability

Implementation

AABB copy(AABB aabb) {
  lowerBound.copy(aabb.lowerBound);
  upperBound.copy(aabb.upperBound);
  return this;
}