From 9563ecb2efb2eec6d83fa4f73b75dfb4dccbc34c Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 15 Apr 2010 15:16:07 -0400 Subject: Add plane object. --- libdimension/dimension/objects.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libdimension/dimension/objects.h') 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(); -- cgit v1.2.3