summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/objects.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-08-14 18:05:59 -0600
committerTavian Barnes <tavianator@gmail.com>2010-08-14 18:05:59 -0600
commit97efd0601d412131635766fa221ddb946e05b337 (patch)
tree3b9819a06fdd7e18658a751a342449de7a11ea42 /libdimension/dimension/objects.h
parentea6ea322433b583df411d4a5643115e5cff7ebd5 (diff)
downloaddimension-97efd0601d412131635766fa221ddb946e05b337.tar.xz
Support closed cylinders.
Diffstat (limited to 'libdimension/dimension/objects.h')
-rw-r--r--libdimension/dimension/objects.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdimension/dimension/objects.h b/libdimension/dimension/objects.h
index 4db161c..8f30eae 100644
--- a/libdimension/dimension/objects.h
+++ b/libdimension/dimension/objects.h
@@ -25,6 +25,8 @@
#ifndef DIMENSION_OBJECTS_H
#define DIMENSION_OBJECTS_H
+#include <stdbool.h>
+
/* A plane through the origin, with the given normal */
dmnsn_object *dmnsn_new_plane(dmnsn_vector normal);
@@ -35,6 +37,6 @@ dmnsn_object *dmnsn_new_sphere(void);
dmnsn_object *dmnsn_new_cube(void);
/* A cylinder, of radius 1, from y = -1 to y = 1 */
-dmnsn_object *dmnsn_new_cylinder(void);
+dmnsn_object *dmnsn_new_cylinder(bool open);
#endif /* DIMENSION_OBJECTS_H */