Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/core/modules/mathlib/mathlib_wrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,16 @@ void export_qangle(scope _mathlib)
"Invalidates the angle."
)

.def("get_angle_vectors",
GET_FUNCTION(void, AngleVectors, const QAngle &, Vector *),
arg("forward"),
"Euler QAngle -> Basis Vectors."
)

.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)
(arg("forward")=NULL, arg("right")=NULL, arg("up")=NULL),
"Euler QAngle -> Basis Vectors. Each vector is optional."
)

.def("__getitem__",
Expand Down