Skip to content

Commit

Permalink
fix matrix3::rotate_around_x function spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Nov 6, 2024
1 parent 0c25a68 commit 071c10b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ void matrix3::rotate_around_x(float ck, float sk)
b = rb;
c = rc;
}

void matrix3::rotate_around_x(float angle)
{
rotate_around_x(cosf(angle), std::sin(angle));
Expand Down

0 comments on commit 071c10b

Please sign in to comment.