Add AngleVectors overload to mathlib.#309
Conversation
|
Thanks! However, Basically, the Python keywords should be defaulted to .def("get_angle_vectors",
GET_FUNCTION(void, AngleVectors, const QAngle &, Vector *, Vector *, Vector *),
"Euler QAngle -> Basis Vectors. Each vector is optional",
(arg("forward")=NULL, arg("right")=NULL, arg("up")=NULL)
)With: .def("get_angle_vectors",
&GET_FUNCTION(void, AngleVectors, const QAngle &, Vector *, Vector *, Vector *),
"Euler QAngle -> Basis Vectors. Each vector is optional",
(arg("forward")=object(), arg("right")=object(), arg("up")=object())
)So that the above call is properly interpreted as Also, your overload export is ambiguous because |
|
That seems to be the case. As for the overload, I am aware of that. |
Added new overload.