copy method

AABB copy(
  1. AABB aabb
)

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

Implementation

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