From 71d2cf0d95e1bbb67a18c4f92f1c3039c76ad311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 2 Feb 2022 15:36:18 +0100 Subject: [PATCH] python: unify parameter naming of all math.angle() functions. --- src/python/magnum/math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/magnum/math.cpp b/src/python/magnum/math.cpp index 486f55f..52e80d8 100644 --- a/src/python/magnum/math.cpp +++ b/src/python/magnum/math.cpp @@ -271,7 +271,7 @@ template void quaternion(py::module_& m, py::class_& c) { "Dot product between two quaternions") .def("angle", [](const T& a, const T& b) { return Radd(Math::angle(a, b)); - }, "Angle between normalized quaternions") + }, "Angle between normalized quaternions", py::arg("normalized_a"), py::arg("normalized_b")) .def("lerp", static_cast(&Math::lerp), "Linear interpolation of two quaternions", py::arg("normalized_a"), py::arg("normalized_b"), py::arg("t")) .def("lerp_shortest_path", static_cast(&Math::lerpShortestPath),