whitespace cleanup
This commit is contained in:
parent
8ee738166b
commit
59e741900a
|
|
@ -2549,13 +2549,13 @@ RMAPI void MatrixDecompose(Matrix mat, Vector3 *translation, Quaternion *rotatio
|
||||||
|
|
||||||
// Extract scale
|
// Extract scale
|
||||||
const float det = a*A + b*B + c*C;
|
const float det = a*A + b*B + c*C;
|
||||||
Vector3 abc = { a, b, c };
|
Vector3 abc = { a, b, c };
|
||||||
Vector3 def = { d, e, f };
|
Vector3 def = { d, e, f };
|
||||||
Vector3 ghi = { g, h, i };
|
Vector3 ghi = { g, h, i };
|
||||||
|
|
||||||
float scalex = Vector3Length(abc);
|
float scalex = Vector3Length(abc);
|
||||||
float scaley = Vector3Length(def);
|
float scaley = Vector3Length(def);
|
||||||
float scalez = Vector3Length(ghi);
|
float scalez = Vector3Length(ghi);
|
||||||
Vector3 s = { scalex, scaley, scalez };
|
Vector3 s = { scalex, scaley, scalez };
|
||||||
|
|
||||||
if (det < 0) s = Vector3Negate(s);
|
if (det < 0) s = Vector3Negate(s);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user