From 97efd0601d412131635766fa221ddb946e05b337 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 14 Aug 2010 18:05:59 -0600 Subject: Support closed cylinders. --- libdimension/dimension/objects.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdimension/dimension/objects.h') 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 + /* 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 */ -- cgit v1.2.3