Bounds constructor

Bounds({
  1. bool boxInitialized = false,
  2. BoundingBox? box,
  3. bool sphereInitialized = false,
  4. BoundingSphere? sphere,
})

Implementation

Bounds({
  this.boxInitialized = false,
  BoundingBox? box,
  this.sphereInitialized = false,
  BoundingSphere? sphere
}){
  this.sphere = sphere ?? BoundingSphere();
  this.box = box ?? BoundingBox();
}