From 1f20631b7ca8c9f15be0093a16e1f9da1c6c2b02 Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Mon, 19 Jun 2023 16:49:40 +0200 Subject: [PATCH] Fix matrix rotation --- docs/scripts/lottie_matrix.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/scripts/lottie_matrix.js b/docs/scripts/lottie_matrix.js index 685166e3..90cd7d89 100644 --- a/docs/scripts/lottie_matrix.js +++ b/docs/scripts/lottie_matrix.js @@ -27,7 +27,7 @@ class LottieMatrix return mat; } - static rotation_x(angle, axis) + static rotation_x(angle) { let cos = Math.cos(angle); let sin = Math.sin(angle); @@ -42,7 +42,7 @@ class LottieMatrix return mat; } - static rotation_y(angle, axis) + static rotation_y(angle) { let cos = Math.cos(angle); let sin = Math.sin(angle);