yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03505
[Branch ~yade-dev/yade/trunk] Rev 2053: Rotate function is added to manualWrap
------------------------------------------------------------
revno: 2053
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Sat 2010-02-27 23:26:29 +0100
message:
Rotate function is added to manualWrap
modified:
py/miniWm3Wrap/manualWrap.cpp
--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'py/miniWm3Wrap/manualWrap.cpp'
--- py/miniWm3Wrap/manualWrap.cpp 2010-02-15 19:35:41 +0000
+++ py/miniWm3Wrap/manualWrap.cpp 2010-02-27 22:26:29 +0000
@@ -110,6 +110,7 @@
.def("Align",&Quaternionr::Align,((bp::arg("v1"),bp::arg("v2"))))
.def("Conjugate",&Quaternionr::Conjugate)
.def("FromAxisAngle",&Quaternionr::FromAxisAngle,((bp::arg("axis"),bp::arg("angle"))),bp::return_self<>())
+ .def("Rotate",&Quaternionr::Rotate,((bp::arg("v"))))
.def("Inverse",&Quaternionr::Inverse)
.def("Length",&Quaternionr::Length)
.def("Normalize",&Quaternionr::Normalize)