diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-08-14 17:39:16 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-08-14 17:39:16 -0600 |
commit | ea6ea322433b583df411d4a5643115e5cff7ebd5 (patch) | |
tree | 3a9729b35bc9785297ad302131490e1ca32f63ac /libdimension/dimension/objects.h | |
parent | dade1a033957df08777904cfbc33884f1bab9aab (diff) | |
download | dimension-ea6ea322433b583df411d4a5643115e5cff7ebd5.tar.xz |
Add cylinders to libdimension.
Diffstat (limited to 'libdimension/dimension/objects.h')
-rw-r--r-- | libdimension/dimension/objects.h | 3 |
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 */ |