summaryrefslogtreecommitdiffstats
path: root/libdimension/torus.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/torus.c')
-rw-r--r--libdimension/torus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/torus.c b/libdimension/torus.c
index 5f2085c..5723fdb 100644
--- a/libdimension/torus.c
+++ b/libdimension/torus.c
@@ -149,7 +149,7 @@ dmnsn_new_torus(dmnsn_pool *pool, double major, double minor)
torus->minor = minor;
dmnsn_object *object = &torus->object;
- dmnsn_init_object(pool, object);
+ dmnsn_init_object(object);
object->intersection_fn = dmnsn_torus_intersection_fn;
object->inside_fn = dmnsn_torus_inside_fn;