diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-08-14 18:05:59 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-08-14 18:05:59 -0600 |
commit | 97efd0601d412131635766fa221ddb946e05b337 (patch) | |
tree | 3b9819a06fdd7e18658a751a342449de7a11ea42 /libdimension/dimension/objects.h | |
parent | ea6ea322433b583df411d4a5643115e5cff7ebd5 (diff) | |
download | dimension-97efd0601d412131635766fa221ddb946e05b337.tar.xz |
Support closed cylinders.
Diffstat (limited to 'libdimension/dimension/objects.h')
-rw-r--r-- | libdimension/dimension/objects.h | 4 |
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 */ |