summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/sphere.c')
-rw-r--r--libdimension/sphere.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/sphere.c b/libdimension/sphere.c
index 251fda8..5d937bd 100644
--- a/libdimension/sphere.c
+++ b/libdimension/sphere.c
@@ -65,8 +65,8 @@ dmnsn_object *
dmnsn_new_sphere(void)
{
dmnsn_object *sphere = dmnsn_new_object();
- sphere->intersection_fn = &dmnsn_sphere_intersection_fn;
- sphere->inside_fn = &dmnsn_sphere_inside_fn;
+ sphere->intersection_fn = dmnsn_sphere_intersection_fn;
+ sphere->inside_fn = dmnsn_sphere_inside_fn;
sphere->bounding_box.min = dmnsn_new_vector(-1.0, -1.0, -1.0);
sphere->bounding_box.max = dmnsn_new_vector(1.0, 1.0, 1.0);
return sphere;