set

fun set(center: Vec3, radius: Double): BoundingSphere

Sets this bounding sphere to the specified center point and radius.

Return

This bounding sphere with its center point and radius set to the specified values

Parameters

center

the new center point

radius

the new radius