summaryrefslogtreecommitdiffstats
path: root/libdimension/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/cube.c')
-rw-r--r--libdimension/cube.c4
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;