Integrating up through commit 90f050496

This commit is contained in:
alexpete
2021-04-07 14:03:29 -07:00
parent 8f2ed080a9
commit c2cbd430fe
2694 changed files with 285622 additions and 176874 deletions
@@ -301,7 +301,7 @@ namespace PolygonPrismMeshUtils
Mesh2D mesh2d = CreateFromPolygon(testData.polygonHShape);
mesh2d.ConvexMerge();
const float height = 1.5f;
const float scale = 0.2f;
const AZ::Vector3 scale(0.2f);
const AZStd::vector<AZ::Vector3>& debugDrawPoints = mesh2d.GetDebugDrawPoints(height, scale);
// the points should appear in pairs, so there should be an even number of them
@@ -320,7 +320,7 @@ namespace PolygonPrismMeshUtils
}
EXPECT_TRUE(min.IsClose(AZ::Vector3::CreateZero()));
EXPECT_TRUE(max.IsClose(AZ::Vector3(3.0f * scale, 3.0f * scale, height * scale)));
EXPECT_TRUE(max.IsClose(scale * AZ::Vector3(3.0f, 3.0f, height)));
}
} // namespace PolygonPrismMeshUtils