summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-08-14 17:39:16 -0600
committerTavian Barnes <tavianator@gmail.com>2010-08-14 17:39:16 -0600
commitea6ea322433b583df411d4a5643115e5cff7ebd5 (patch)
tree3a9729b35bc9785297ad302131490e1ca32f63ac /libdimension/dimension
parentdade1a033957df08777904cfbc33884f1bab9aab (diff)
downloaddimension-ea6ea322433b583df411d4a5643115e5cff7ebd5.tar.xz
Add cylinders to libdimension.
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 9986717..4db161c 100644
--- a/libdimension/dimension/objects.h
+++ b/libdimension/dimension/objects.h
@@ -34,4 +34,7 @@ dmnsn_object *dmnsn_new_sphere(void);
/* A cube, axis-aligned, from (-1, -1, -1) to (1, 1, 1) */
dmnsn_object *dmnsn_new_cube(void);
+/* A cylinder, of radius 1, from y = -1 to y = 1 */
+dmnsn_object *dmnsn_new_cylinder(void);
+
#endif /* DIMENSION_OBJECTS_H */