This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Fix for issue 4454, MatrixDecompose() gave incorrect output for certain combinations of scale and rotation
pull/4461/head
waveydave
2 months ago
parent
6028052c7e
commit
ab8f4598c9
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/raymath.h
+ 6
- 0
src/raymath.h
View File
@ -2569,7 +2569,13 @@ RMAPI void MatrixDecompose(Matrix mat, Vector3 *translation, Quaternion *rotatio
if
(
!
FloatEquals
(
det
,
0
)
)
{
clone
.
m0
/
=
s
.
x
;
clone
.
m4
/
=
s
.
x
;
clone
.
m8
/
=
s
.
x
;
clone
.
m1
/
=
s
.
y
;
clone
.
m5
/
=
s
.
y
;
clone
.
m9
/
=
s
.
y
;
clone
.
m2
/
=
s
.
z
;
clone
.
m6
/
=
s
.
z
;
clone
.
m10
/
=
s
.
z
;
/
/
Extract
rotation
Write
Preview
Loading…
Cancel
Save