update to use uniform scale calls to Transform

This commit is contained in:
greerdv
2021-05-25 22:31:41 +01:00
parent c2e965ea5a
commit bdf9ac31fb
29 changed files with 39 additions and 39 deletions
@@ -228,7 +228,7 @@ namespace AZ
// remove scale
Transform worldNoScale = world;
worldNoScale.ExtractScale();
worldNoScale.ExtractUniformScale();
AZ::Matrix3x4 transformMatrix = AZ::Matrix3x4::CreateFromTransform(worldNoScale);
transformMatrix.StoreToRowMajorFloat12(matrix);