From d36c847362b3d311a473b0187b8687d47410a184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 25 Jul 2019 18:53:03 +0200 Subject: [PATCH] python: add an underscore to Matrix4.shearing_ab() parameter name. Better readability. --- src/python/magnum/math.matrix.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/magnum/math.matrix.h b/src/python/magnum/math.matrix.h index cbc6b44..3d41949 100644 --- a/src/python/magnum/math.matrix.h +++ b/src/python/magnum/math.matrix.h @@ -647,11 +647,11 @@ template void matrices( .def_static("reflection", &Math::Matrix4::reflection, "3D reflection matrix") .def_static("shearing_xy", &Math::Matrix4::shearingXY, - "3D shearing matrix along the XY plane", py::arg("amountx"), py::arg("amounty")) + "3D shearing matrix along the XY plane", py::arg("amount_x"), py::arg("amount_y")) .def_static("shearing_xz", &Math::Matrix4::shearingXZ, - "3D shearning matrix along the XZ plane", py::arg("amountx"), py::arg("amountz")) + "3D shearning matrix along the XZ plane", py::arg("amount_x"), py::arg("amount_z")) .def_static("shearing_yz", &Math::Matrix4::shearingYZ, - "3D shearing matrix along the YZ plane", py::arg("amounty"), py::arg("amountz")) + "3D shearing matrix along the YZ plane", py::arg("amount_y"), py::arg("amount_z")) .def_static("orthographic_projection", &Math::Matrix4::orthographicProjection, "3D orthographic projection matrix", py::arg("size"), py::arg("near"), py::arg("far")) .def_static("perspective_projection",