Skip to content

Commit b9d3fa2

Browse files
committed
Removed abs() so we can create downward extrudes.
1 parent cdec4bf commit b9d3fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/mesh/creator/special/VariableCylinderCreator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private int toOneDimensionalIndex(int i, int j) {
124124
}
125125

126126
public void add(float radius, float height) {
127-
float y1 = -Mathf.abs(height);
127+
float y1 = -height;
128128
radii.add(radius);
129129
yCoordinates.add(y1 + lastY);
130130
lastY = y1 + lastY;

0 commit comments

Comments
 (0)