Sphere.init_

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

Parameters

center graphene.point3_d.Point3D

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

radius float

the radius of the sphere

Return Value

Type: graphene.sphere.Sphere

the initialized #graphene_sphere_t