We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e2743 commit acbd2a3Copy full SHA for acbd2a3
src/main/java/mesh/creator/special/VariableCylinderCreator.java
@@ -9,6 +9,7 @@
9
import mesh.creator.FillType;
10
import mesh.creator.IMeshCreator;
11
import mesh.creator.primitives.CircleCreator;
12
+import mesh.modifier.RotateXModifier;
13
14
public class VariableCylinderCreator implements IMeshCreator {
15
@@ -67,7 +68,7 @@ private void capBottom() {
67
68
creator.setRadius(radii.get(0));
69
creator.setVertices(rotationSegments);
70
Mesh3D bottom = creator.create();
- bottom.rotateZ(Mathf.PI);
71
+ bottom.apply(new RotateXModifier(Mathf.PI));
72
bottom.translateY(yCoordinates.get(0));
73
mesh.append(bottom);
74
}
0 commit comments