Skip to content

Commit

Permalink
Attempt to address windows CI errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCurtis-TRI committed May 3, 2020
1 parent 594fab5 commit c90a7eb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ vector<Configuration<S>> GetConfigurations() {
// plane.
configurations.emplace_back(
"simple non-colliding",
MakeTransform(AngleAxis<S>::Identity(), Vector3<S>{0, 0, 0.1}), I);
MakeTransform(AngleAxis<S>::Identity(), Vector3<S>{0, 0, S(0.1)}), I);

// Simple penetration - the tet is rotated so the point is down and penetrates
// the plane.
Expand All @@ -197,13 +197,13 @@ vector<Configuration<S>> GetConfigurations() {

configurations.emplace_back(
"non-trivial half space, non-colliding",
X_CH * MakeTransform(R_HT_point_down, Vector3<S>{0, 0, 1.01}), X_CH);
X_CH * MakeTransform(R_HT_point_down, Vector3<S>{0, 0, S(1.01)}), X_CH);

// We pose the tet relative to the half plane, and the transform it again into
// the configuration frame. Offset of 0.5 in the z-direction gives us a
// penetration depth of 0.5.
const Transform3<S> X_CT =
X_CH * MakeTransform(R_HT_point_down, Vector3<S>{0, 0, 0.5});
X_CH * MakeTransform(R_HT_point_down, Vector3<S>{0, 0, S(0.5)});
const Vector3<S> Hz_C = X_CH.linear().col(2);
// By construction, we're colliding vertex 3 (0, 0, 1). So, let's find where
// it is in this configuration.
Expand Down

0 comments on commit c90a7eb

Please sign in to comment.