diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-04-15 15:16:07 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-04-15 15:16:07 -0400 |
commit | 9563ecb2efb2eec6d83fa4f73b75dfb4dccbc34c (patch) | |
tree | d9424c23a0aab01a5e2960cdb17548036ff251f0 /libdimension/dimension | |
parent | 1b1f00e70564d6acb2b1e09b0a5f430da4e4b8a3 (diff) | |
download | dimension-9563ecb2efb2eec6d83fa4f73b75dfb4dccbc34c.tar.xz |
Add plane object.
Diffstat (limited to 'libdimension/dimension')
-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 3176439..6f3b797 100644 --- a/libdimension/dimension/objects.h +++ b/libdimension/dimension/objects.h @@ -25,6 +25,9 @@ #ifndef DIMENSION_OBJECTS_H #define DIMENSION_OBJECTS_H +/* A plane through the origin, with the given normal */ +dmnsn_object *dmnsn_new_plane(dmnsn_vector normal); + /* A sphere object, of radius 1, centered at the origin. */ dmnsn_object *dmnsn_new_sphere(); |