diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-12-17 16:43:19 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-12-17 17:49:00 -0500 |
commit | 4dde640671a8278ff6c41ef21f03ba351828009c (patch) | |
tree | 4ab145084a16a6af07ff53d606c40464f8cabec0 /libdimension-python/dimension.pxd | |
parent | 65b1d1998f560c03c7cc204b0ee4f5c9c4f517e0 (diff) | |
download | dimension-4dde640671a8278ff6c41ef21f03ba351828009c.tar.xz |
Make triangles smooth.
Diffstat (limited to 'libdimension-python/dimension.pxd')
-rw-r--r-- | libdimension-python/dimension.pxd | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd index 0d0fcc4..3f89e71 100644 --- a/libdimension-python/dimension.pxd +++ b/libdimension-python/dimension.pxd @@ -321,9 +321,15 @@ cdef extern from "../libdimension/dimension.h": dmnsn_object *dmnsn_new_object() void dmnsn_delete_object(dmnsn_object *object) + dmnsn_object *dmnsn_new_flat_triangle(dmnsn_vector a, + dmnsn_vector b, + dmnsn_vector c) dmnsn_object *dmnsn_new_triangle(dmnsn_vector a, dmnsn_vector b, - dmnsn_vector c) + dmnsn_vector c, + dmnsn_vector na, + dmnsn_vector nb, + dmnsn_vector nc) dmnsn_object *dmnsn_new_plane(dmnsn_vector normal) dmnsn_object *dmnsn_new_sphere() dmnsn_object *dmnsn_new_cube() |