Skip to content

Commit 670f01d

Browse files
committed
Helper fixes
1 parent cf86134 commit 670f01d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/menecats/polybool/helpers/PolyBoolHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static Epsilon epsilon(double epsilon) {
2424

2525
public static Epsilon epsilon(double epsilon, boolean experimental) {
2626
return experimental
27-
? new ExperimentalEpsilon()
27+
? new ExperimentalEpsilon(epsilon)
2828
: new Epsilon(epsilon);
2929
}
3030

@@ -43,7 +43,7 @@ public static Polygon polygon(List<double[]>... regions) {
4343

4444
@SafeVarargs
4545
public static Polygon polygon(boolean inverted, List<double[]>... regions) {
46-
return new Polygon(Arrays.asList(regions));
46+
return new Polygon(Arrays.asList(regions), inverted);
4747
}
4848

4949
private PolyBoolHelper() {

0 commit comments

Comments
 (0)