summaryrefslogtreecommitdiffstats
path: root/libdimension/sphere.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
committerTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
commit5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch)
tree2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /libdimension/sphere.c
parent7bc2770af08e317b2076540050c68d2de55a11db (diff)
downloaddimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz
Don't use awkward (*fptr)() syntax.
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;