BoundingSphere constructor

BoundingSphere([
  1. Vector3? center,
  2. double radius = 0
])

Constructs a new bounding sphere with the given values.

Implementation

BoundingSphere([ Vector3? center, this.radius = 0 ]) {
	this.center = center ?? Vector3();
}