diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-06-14 08:37:55 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-06-14 08:37:55 -0600 |
commit | 9ed4a01ac4305baff9e5ee1484691e78def105a1 (patch) | |
tree | a8b5c556baf7053546e188e42278c6b88c7b0543 /libdimension-python/dimension.pxd | |
parent | 9b758508df283a533a4cfc605545a35f77bc9d5f (diff) | |
download | dimension-9ed4a01ac4305baff9e5ee1484691e78def105a1.tar.xz |
Fix rotational alignment.
Diffstat (limited to 'libdimension-python/dimension.pxd')
-rw-r--r-- | libdimension-python/dimension.pxd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libdimension-python/dimension.pxd b/libdimension-python/dimension.pxd index cd28f24..22e9764 100644 --- a/libdimension-python/dimension.pxd +++ b/libdimension-python/dimension.pxd @@ -91,9 +91,6 @@ cdef extern from "../libdimension/dimension.h": double dmnsn_vector_norm(dmnsn_vector v) dmnsn_vector dmnsn_vector_normalized(dmnsn_vector v) - double dmnsn_vector_axis_angle(dmnsn_vector v1, dmnsn_vector v2, - dmnsn_vector axis) - dmnsn_vector dmnsn_zero dmnsn_vector dmnsn_x dmnsn_vector dmnsn_y @@ -114,6 +111,8 @@ cdef extern from "../libdimension/dimension.h": dmnsn_matrix dmnsn_scale_matrix(dmnsn_vector s) dmnsn_matrix dmnsn_translation_matrix(dmnsn_vector d) dmnsn_matrix dmnsn_rotation_matrix(dmnsn_vector theta) + dmnsn_matrix dmnsn_alignment_matrix(dmnsn_vector frm, dmnsn_vector to, + dmnsn_vector axis1, dmnsn_vector axis2) ########## # Colors # |