Verified Commit c7a5403f authored by Justin Carpentier's avatar Justin Carpentier
Browse files

quaternion: fix exposure of toRotationMatrix

parent 72f57d87
......@@ -103,7 +103,7 @@ namespace eigenpy
.def("coeffs",(const Vector4 & (Quaternion::*)()const)&Quaternion::coeffs,
.def("matrix",&Quaternion::matrix,"Returns an equivalent rotation matrix")
.def("toRotationMatrix ",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.")
.def("toRotationMatrix",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.")
.def("setFromTwoVectors",&setFromTwoVectors,((bp::arg("a"),bp::arg("b"))),"Set *this to be the quaternion which transform a into b through a rotation."
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment