Skip to content

Commit 7c85608

Browse files
committed
restore the curve segments to text extrude
1 parent 1e45b5c commit 7c85608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/eu/mihosoft/vrl/v3d/TextExtrude.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
public class TextExtrude {
4141
private static final String default_font = "FreeSerif";
4242
private final static int POINTS_CURVE = 10;
43+
private static final double CURVE_SEGMENTS = 4; // Number of segments to approximate curves
4344

4445
private final String text;
4546
// private List<Vector3d> points;
@@ -200,7 +201,6 @@ public List<Vector3d> getOffset() {
200201
}
201202

202203
// Below is AI slop
203-
private static final double CURVE_SEGMENTS = 2; // Number of segments to approximate curves
204204
//private static final double POINT_EPSILON = 0.0001; // Distance threshold for considering points equal
205205

206206
/**

0 commit comments

Comments
 (0)