summaryrefslogtreecommitdiffstats
path: root/libdimension-python/dimension.pxd
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-07-13 13:47:17 -0600
committerTavian Barnes <tavianator@gmail.com>2011-07-13 13:47:17 -0600
commit3ec26ddd28cbcc279a4fa65de8d68c68b3950576 (patch)
treeeddc68447868b1c0dd9c7f357527a9e8c7670ff9 /libdimension-python/dimension.pxd
parentf034b0cba4c028b4b156f7d8824b6ccf84f1f277 (diff)
downloaddimension-3ec26ddd28cbcc279a4fa65de8d68c68b3950576.tar.xz
Implement triangles.
Diffstat (limited to 'libdimension-python/dimension.pxd')
-rw-r--r--libdimension-python/dimension.pxd3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd
index 6ac6319..f675501 100644
--- a/libdimension-python/dimension.pxd
+++ b/libdimension-python/dimension.pxd
@@ -307,6 +307,9 @@ cdef extern from "../libdimension/dimension.h":
dmnsn_object *dmnsn_new_object()
void dmnsn_delete_object(dmnsn_object *object)
+ dmnsn_object *dmnsn_new_triangle(dmnsn_vector a,
+ dmnsn_vector b,
+ dmnsn_vector c)
dmnsn_object *dmnsn_new_plane(dmnsn_vector normal)
dmnsn_object *dmnsn_new_sphere()
dmnsn_object *dmnsn_new_cube()