Skip to content

Commit

Permalink
bugfix: logic error in CompoundTestShapes.makePipe()
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 25, 2024
1 parent 419b59c commit 12bf9b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static CompoundCollisionShape makePipe(float innerR, float thickness,
Validate.positive(zLength, "length");
Validate.inRange(arc, "arc", 0f, FastMath.TWO_PI);
Validate.inRange(
numChildren, "number of children", 2, Integer.MAX_VALUE);
numChildren, "number of children", 3, Integer.MAX_VALUE);

float halfLength = zLength / 2f;
float outerR = innerR + thickness;
Expand Down

0 comments on commit 12bf9b9

Please sign in to comment.