Integrating github/staging through commit b0dd7ed

This commit is contained in:
alexpete
2021-04-09 12:03:26 -07:00
parent 1044dc3da1
commit c5b955d281
180 changed files with 6416 additions and 1850 deletions
@@ -307,9 +307,9 @@ namespace EMotionFX
const float updatedPositionY = m_actorInstance->GetWorldSpaceTransform().mPosition.GetY();
const float actualDeltaX = AZ::GetAbs(updatedPositionX - originalPositionX);
const float actualDeltaY = AZ::GetAbs(updatedPositionY - originalPositionY);
EXPECT_TRUE(AZ::GetAbs(actualDeltaX - expectedDeltaX) < 0.001f)
EXPECT_NEAR(actualDeltaX, expectedDeltaX, 0.001f)
<< "Diagonal Rotation: The absolute difference between actual delta and expected delta of X-axis should be less than 0.001f.";
EXPECT_TRUE(AZ::GetAbs(actualDeltaY - expectedDeltaY) < 0.001f)
EXPECT_NEAR(actualDeltaY, expectedDeltaY, 0.001f)
<< "Diagonal Rotation: The absolute difference between actual delta and expected delta of Y-axis should be less than 0.001f.";
}
}