Skip to content

Commit

Permalink
Fix matrix rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
mbasaglia committed Jun 19, 2023
1 parent 7332210 commit 1f20631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/scripts/lottie_matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 1f20631

Please sign in to comment.