summaryrefslogtreecommitdiffstats
path: root/libdimension/plane.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/plane.c
parent7bc2770af08e317b2076540050c68d2de55a11db (diff)
downloaddimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/plane.c')
-rw-r--r--libdimension/plane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/plane.c b/libdimension/plane.c
index e58ccc5..8931cc7 100644
--- a/libdimension/plane.c
+++ b/libdimension/plane.c
@@ -44,9 +44,9 @@ dmnsn_new_plane(dmnsn_vector normal)
dmnsn_vector *param = dmnsn_malloc(sizeof(dmnsn_vector));
*param = normal;
- plane->intersection_fn = &dmnsn_plane_intersection_fn;
- plane->inside_fn = &dmnsn_plane_inside_fn;
- plane->free_fn = &dmnsn_free;
+ plane->intersection_fn = dmnsn_plane_intersection_fn;
+ plane->inside_fn = dmnsn_plane_inside_fn;
+ plane->free_fn = dmnsn_free;
plane->bounding_box = dmnsn_infinite_bounding_box();
plane->ptr = param;
return plane;