Sphere.init

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

class Sphere
init

Parameters

center 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: Sphere

the initialized #graphene_sphere_t

Meta