AABB constructor

AABB({
  1. Vec3? upperBound,
  2. Vec3? lowerBound,
})

Implementation

AABB({
  Vec3? upperBound,
  Vec3? lowerBound
})
{
  if(lowerBound != null){
    this.lowerBound.copy(lowerBound);
  }
  if(upperBound != null){
    this.upperBound.copy(upperBound);
  }

}