init

fun init(center: Point3d? = null, radius: <Error class: unknown class>): Sphere

Initializes the given #graphene_sphere_t with the given @center and @radius.

Return

the initialized #graphene_sphere_t

Since

1.2

Parameters

center

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

radius

the radius of the sphere