more fixes, will merge fixes for w4245 and w4389

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-13 12:29:24 -07:00
parent 3522f622f3
commit e9b4f48f71
31 changed files with 21 additions and 133 deletions
@@ -539,8 +539,8 @@ namespace ScriptCanvasDeveloper
AZ::Vector2 stepDirection = AZ::Vector2::CreateZero();
stepDirection.SetX(jutDirection.x() * stepSize.GetX());
stepDirection.SetY(jutDirection.y() * stepSize.GetY());
stepDirection.SetX(static_cast<float>(jutDirection.x() * stepSize.GetX()));
stepDirection.SetY(static_cast<float>(jutDirection.y() * stepSize.GetY()));
m_scenePoint.setX(m_scenePoint.x() + stepDirection.GetX() * 2);
}