Sets our main struct and passes it to the parent class.
Allocates a new #graphene_sphere_t.
Checks whether the given @point is contained in the volume of a #graphene_sphere_t.
Computes the distance of the given @point from the surface of a #graphene_sphere_t.
Checks whether two #graphene_sphere_t are equal.
Frees the resources allocated by graphene_sphere_alloc().
Computes the bounding box capable of containing the given #graphene_sphere_t.
Retrieves the coordinates of the center of a #graphene_sphere_t.
Retrieves the radius of a #graphene_sphere_t.
Get the main Gtk struct
the main Gtk struct as a void*
Initializes the given #graphene_sphere_t with the given @center and @radius.
Initializes the given #graphene_sphere_t using the given array of 3D coordinates so that the sphere includes them.
Initializes the given #graphene_sphere_t using the given array of 3D coordinates so that the sphere includes them.
Checks whether the sphere has a zero radius.
Translates the center of the given #graphene_sphere_t using the @point coordinates as the delta of the translation.
the main Gtk struct
A sphere, represented by its center and radius.