set

fun set(center: Vector3, radius: Double): Sphere

Sets the sphere's components by copying the given values.

Return

A reference to this sphere.

Parameters

center

The center.

radius

The radius.