28#if !defined(GRAPHENE_H_INSIDE) && !defined(GRAPHENE_COMPILATION)
29#error "Only graphene.h can be included directly."
63 unsigned int n_points,
68 unsigned int n_vectors,
#define GRAPHENE_END_DECLS
#define GRAPHENE_BEGIN_DECLS
GRAPHENE_AVAILABLE_IN_1_2 graphene_sphere_t * graphene_sphere_init(graphene_sphere_t *s, const graphene_point3d_t *center, float radius)
GRAPHENE_AVAILABLE_IN_1_2 float graphene_sphere_distance(const graphene_sphere_t *s, const graphene_point3d_t *point)
GRAPHENE_AVAILABLE_IN_1_2 graphene_sphere_t * graphene_sphere_init_from_points(graphene_sphere_t *s, unsigned int n_points, const graphene_point3d_t *points, const graphene_point3d_t *center)
GRAPHENE_AVAILABLE_IN_1_2 void graphene_sphere_free(graphene_sphere_t *s)
GRAPHENE_AVAILABLE_IN_1_2 graphene_sphere_t * graphene_sphere_alloc(void)
GRAPHENE_AVAILABLE_IN_1_2 void graphene_sphere_get_bounding_box(const graphene_sphere_t *s, graphene_box_t *box)
GRAPHENE_AVAILABLE_IN_1_2 void graphene_sphere_translate(const graphene_sphere_t *s, const graphene_point3d_t *point, graphene_sphere_t *res)
GRAPHENE_AVAILABLE_IN_1_2 bool graphene_sphere_contains_point(const graphene_sphere_t *s, const graphene_point3d_t *point)
GRAPHENE_AVAILABLE_IN_1_2 bool graphene_sphere_is_empty(const graphene_sphere_t *s)
GRAPHENE_AVAILABLE_IN_1_2 float graphene_sphere_get_radius(const graphene_sphere_t *s)
GRAPHENE_AVAILABLE_IN_1_2 graphene_sphere_t * graphene_sphere_init_from_vectors(graphene_sphere_t *s, unsigned int n_vectors, const graphene_vec3_t *vectors, const graphene_point3d_t *center)
GRAPHENE_AVAILABLE_IN_1_2 bool graphene_sphere_equal(const graphene_sphere_t *a, const graphene_sphere_t *b)
GRAPHENE_AVAILABLE_IN_1_2 void graphene_sphere_get_center(const graphene_sphere_t *s, graphene_point3d_t *center)
#define GRAPHENE_AVAILABLE_IN_1_2
CURL_EXTERN CURLMcode curl_socket_t s
GRAPHENE_PRIVATE_FIELD(float, radius)
GRAPHENE_PRIVATE_FIELD(graphene_vec3_t, center)