summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/objects.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/objects.h b/libdimension/dimension/objects.h
index 91c9127..41706a0 100644
--- a/libdimension/dimension/objects.h
+++ b/libdimension/dimension/objects.h
@@ -39,4 +39,7 @@ dmnsn_object *dmnsn_new_cube(void);
/* A cylinder/cone, from r = r1 at y = -1, to r = r2 at y = 1 */
dmnsn_object *dmnsn_new_cylinder(double r1, double r2, bool open);
+/* A torus, centered at the origin and lying in the x-z plane */
+dmnsn_object *dmnsn_new_torus(double major, double minor);
+
#endif /* DIMENSION_OBJECTS_H */