@@ -46,15 +46,13 @@ class AngleAxisVisitor : public bp::def_visitor<AngleAxisVisitor<AngleAxis> > {
4646 template <class PyClass >
4747 void visit (PyClass& cl) const {
4848 cl.def (bp::init<>(bp::arg (" self" ), " Default constructor" ))
49- .def (bp::init<Scalar, Vector3>(
50- (bp::arg (" self" ), bp::arg (" angle" ), bp::arg (" axis" )),
51- " Initialize from angle and axis." ))
52- .def (bp::init<Matrix3>((bp::arg (" self" ), bp::arg (" R" )),
49+ .def (bp::init<Scalar, Vector3>(bp::args (" self" , " angle" , " axis" ),
50+ " Initialize from angle and axis." ))
51+ .def (bp::init<Matrix3>(bp::args (" self" , " R" ),
5352 " Initialize from a rotation matrix" ))
54- .def (bp::init<Quaternion>(( bp::arg (" self" ), bp::arg ( " quaternion" ) ),
53+ .def (bp::init<Quaternion>(bp::args (" self" , " quaternion" ),
5554 " Initialize from a quaternion." ))
56- .def (bp::init<AngleAxis>((bp::arg (" self" ), bp::arg (" copy" )),
57- " Copy constructor." ))
55+ .def (bp::init<AngleAxis>(bp::args (" self" , " copy" ), " Copy constructor." ))
5856
5957 /* --- Properties --- */
6058 .add_property (
0 commit comments