diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-10-20 18:52:59 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-10-20 18:52:59 -0400 |
commit | 59481d4e4421cc7d0610d49c6dbec720de1f11ea (patch) | |
tree | 7d72d30229073c3997b5fe89faa657e2430f8102 /libdimension/dimension/objects.h | |
parent | 13f34392c72f99134342b5a58b14c02e07f0e67b (diff) | |
download | dimension-59481d4e4421cc7d0610d49c6dbec720de1f11ea.tar.xz |
Add cone support to libdimension.
Diffstat (limited to 'libdimension/dimension/objects.h')
-rw-r--r-- | libdimension/dimension/objects.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/objects.h b/libdimension/dimension/objects.h index 8f30eae..91c9127 100644 --- a/libdimension/dimension/objects.h +++ b/libdimension/dimension/objects.h @@ -36,7 +36,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(bool open); +/* 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); #endif /* DIMENSION_OBJECTS_H */ |