updateBoundingSphereRadius method
Computes the bounding sphere radius.
The result is stored in the property .boundingSphereRadius
Implementation
@override
void updateBoundingSphereRadius() {
// Use the bounding box of the min/max values
final data = this.data;
final s = elementSize.toDouble();
boundingSphereRadius = Vec3(
data.length * s,
data[0].length * s,
math.max(maxValue!.abs(), minValue!.abs())
).length();
}