summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-04-15 15:16:07 -0400
committerTavian Barnes <tavianator@gmail.com>2010-04-15 15:16:07 -0400
commit9563ecb2efb2eec6d83fa4f73b75dfb4dccbc34c (patch)
treed9424c23a0aab01a5e2960cdb17548036ff251f0 /libdimension/dimension
parent1b1f00e70564d6acb2b1e09b0a5f430da4e4b8a3 (diff)
downloaddimension-9563ecb2efb2eec6d83fa4f73b75dfb4dccbc34c.tar.xz
Add plane object.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/objects.h3
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();