diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-06 11:40:18 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-06 11:40:18 (GMT) |
commit | bc128ab631022c08fcf4c6197ccd9e60f39f856b (patch) | |
tree | 8dc0a1776c09a05f2e84376fe73dc5db2fe0db4e /dxflinextrude.cc | |
parent | 47827e9c59cfd015f6d1e2294008e29988082aba (diff) |
Clifford Wolf:
Tesselation magic: cgal 2d and 3d nefs have different constraints on
the tesselation results
git-svn-id: http://svn.clifford.at/openscad/trunk@217 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'dxflinextrude.cc')
-rw-r--r-- | dxflinextrude.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dxflinextrude.cc b/dxflinextrude.cc index 928bf5c..dc4ec9c 100644 --- a/dxflinextrude.cc +++ b/dxflinextrude.cc @@ -200,8 +200,8 @@ PolySet *DxfLinearExtrudeNode::render_polyset(render_mode_e) const if (has_twist) { - dxf_tesselate(ps, &dxf, 0, false, h1); - dxf_tesselate(ps, &dxf, twist, true, h2); + dxf_tesselate(ps, &dxf, 0, false, true, h1); + dxf_tesselate(ps, &dxf, twist, true, true, h2); for (int j = 0; j < slices; j++) { double t1 = twist*j / slices; @@ -218,8 +218,8 @@ PolySet *DxfLinearExtrudeNode::render_polyset(render_mode_e) const } else { - dxf_tesselate(ps, &dxf, 0, false, h1); - dxf_tesselate(ps, &dxf, 0, true, h2); + dxf_tesselate(ps, &dxf, 0, false, true, h1); + dxf_tesselate(ps, &dxf, 0, true, true, h2); for (int i = 0; i < dxf.paths.count(); i++) { if (!dxf.paths[i].is_closed) |