From d1a46a8da5ff29c9990eb26043b6688503220c28 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Wed, 19 Mar 2025 14:58:32 +0100 Subject: [PATCH] Use getRotationRadians --- irr/include/Transform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irr/include/Transform.h b/irr/include/Transform.h index ca9c1339e..522992443 100644 --- a/irr/include/Transform.h +++ b/irr/include/Transform.h @@ -21,7 +21,7 @@ struct Transform { auto scale = mat.getScale(); return { mat.getTranslation(), - quaternion(mat.getRotationDegrees(scale) * DEGTORAD), + quaternion(mat.getRotationRadians(scale)), scale, }; }