Skip to content

Commit

Permalink
whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffM2501 committed Jul 1, 2024
1 parent 8ee7381 commit 59e7419
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/raymath.h
Original file line number Diff line number Diff line change
Expand Up @@ -2549,13 +2549,13 @@ RMAPI void MatrixDecompose(Matrix mat, Vector3 *translation, Quaternion *rotatio

// Extract scale
const float det = a*A + b*B + c*C;
Vector3 abc = { a, b, c };
Vector3 def = { d, e, f };
Vector3 ghi = { g, h, i };
Vector3 abc = { a, b, c };
Vector3 def = { d, e, f };
Vector3 ghi = { g, h, i };

float scalex = Vector3Length(abc);
float scaley = Vector3Length(def);
float scalez = Vector3Length(ghi);
float scalex = Vector3Length(abc);
float scaley = Vector3Length(def);
float scalez = Vector3Length(ghi);
Vector3 s = { scalex, scaley, scalez };

if (det < 0) s = Vector3Negate(s);
Expand Down

0 comments on commit 59e7419

Please sign in to comment.