Skip to content

Commit

Permalink
Merge pull request john-chapman#47 from sivu/bugfix/fromeulerxyz
Browse files Browse the repository at this point in the history
FromEulerXYZ copy paste mistake fixed
  • Loading branch information
john-chapman authored Mar 2, 2021
2 parents 1bd4cc6 + 77c8869 commit 5a45679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions im3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2862,9 +2862,9 @@ Mat3 Im3d::FromEulerXYZ(Vec3& _euler)
float cx = cosf(_euler.x);
float sx = sinf(_euler.x);
float cy = cosf(_euler.y);
float sy = cosf(_euler.y);
float sy = sinf(_euler.y);
float cz = cosf(_euler.z);
float sz = cosf(_euler.z);
float sz = sinf(_euler.z);
return Mat3(
cy * cz, sz * sy * cz - cx * sz, cx * sy * cz + sx * sz,
cy * sz, sx * sy * sz + cx * cz, cx * sy * sz - sx * cz,
Expand Down

0 comments on commit 5a45679

Please sign in to comment.