init


Description:

public unowned Sphere? init (Point3D? center, float radius)

Initializes the given Sphere with the given center and radius.

Parameters:

this

the Sphere to initialize

center

the coordinates of the center of the sphere, or null for a center in (0, 0, 0)

radius

the radius of the sphere

Returns:

the initialized Sphere