diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
commit | 5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch) | |
tree | 2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /libdimension/cube.c | |
parent | 7bc2770af08e317b2076540050c68d2de55a11db (diff) | |
download | dimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz |
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/cube.c')
-rw-r--r-- | libdimension/cube.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/cube.c b/libdimension/cube.c index 241f342..98e7345 100644 --- a/libdimension/cube.c +++ b/libdimension/cube.c @@ -137,8 +137,8 @@ dmnsn_object * dmnsn_new_cube(void) { dmnsn_object *cube = dmnsn_new_object(); - cube->intersection_fn = &dmnsn_cube_intersection_fn; - cube->inside_fn = &dmnsn_cube_inside_fn; + cube->intersection_fn = dmnsn_cube_intersection_fn; + cube->inside_fn = dmnsn_cube_inside_fn; cube->bounding_box.min = dmnsn_new_vector(-1.0, -1.0, -1.0); cube->bounding_box.max = dmnsn_new_vector(1.0, 1.0, 1.0); return cube; |