diff options
Diffstat (limited to 'libdimension/csg.c')
-rw-r--r-- | libdimension/csg.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libdimension/csg.c b/libdimension/csg.c index 34fcfb2..9d02174 100644 --- a/libdimension/csg.c +++ b/libdimension/csg.c @@ -97,10 +97,10 @@ dmnsn_new_csg_union(const dmnsn_array *objects) dmnsn_array_push(csg->children, object); } - csg->intersection_fn = &dmnsn_csg_union_intersection_fn; - csg->inside_fn = &dmnsn_csg_union_inside_fn; - csg->initialize_fn = &dmnsn_csg_union_initialize_fn; - csg->free_fn = &dmnsn_csg_union_free_fn; + csg->intersection_fn = dmnsn_csg_union_intersection_fn; + csg->inside_fn = dmnsn_csg_union_inside_fn; + csg->initialize_fn = dmnsn_csg_union_initialize_fn; + csg->free_fn = dmnsn_csg_union_free_fn; return csg; } @@ -241,10 +241,10 @@ dmnsn_new_csg_intersection(dmnsn_object *A, dmnsn_object *B) params[1] = B; csg->ptr = params; - csg->intersection_fn = &dmnsn_csg_intersection_intersection_fn; - csg->inside_fn = &dmnsn_csg_intersection_inside_fn; - csg->initialize_fn = &dmnsn_csg_intersection_initialize_fn; - csg->free_fn = &dmnsn_csg_free_fn; + csg->intersection_fn = dmnsn_csg_intersection_intersection_fn; + csg->inside_fn = dmnsn_csg_intersection_inside_fn; + csg->initialize_fn = dmnsn_csg_intersection_initialize_fn; + csg->free_fn = dmnsn_csg_free_fn; return csg; } @@ -299,10 +299,10 @@ dmnsn_new_csg_difference(dmnsn_object *A, dmnsn_object *B) params[1] = B; csg->ptr = params; - csg->intersection_fn = &dmnsn_csg_difference_intersection_fn; - csg->inside_fn = &dmnsn_csg_difference_inside_fn; - csg->initialize_fn = &dmnsn_csg_difference_initialize_fn; - csg->free_fn = &dmnsn_csg_free_fn; + csg->intersection_fn = dmnsn_csg_difference_intersection_fn; + csg->inside_fn = dmnsn_csg_difference_inside_fn; + csg->initialize_fn = dmnsn_csg_difference_initialize_fn; + csg->free_fn = dmnsn_csg_free_fn; return csg; } @@ -360,10 +360,10 @@ dmnsn_new_csg_merge(dmnsn_object *A, dmnsn_object *B) params[1] = B; csg->ptr = params; - csg->intersection_fn = &dmnsn_csg_merge_intersection_fn; - csg->inside_fn = &dmnsn_csg_merge_inside_fn; - csg->initialize_fn = &dmnsn_csg_merge_initialize_fn; - csg->free_fn = &dmnsn_csg_free_fn; + csg->intersection_fn = dmnsn_csg_merge_intersection_fn; + csg->inside_fn = dmnsn_csg_merge_inside_fn; + csg->initialize_fn = dmnsn_csg_merge_initialize_fn; + csg->free_fn = dmnsn_csg_free_fn; return csg; } |