Sphere.init_

graphene.sphere.Sphere init_(graphene.point3_d.Point3D center, float radius) nothrow

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

Parameters

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

Returns

the initialized #graphene_sphere_t