Check for closing edges in tesselateEdges3D()

This commit is contained in:
codeanticode
2013-04-18 16:01:06 -04:00
parent ac1352c012
commit 72e3b8aaf3
@@ -10994,7 +10994,7 @@ public class PGraphicsOpenGL extends PGraphics {
lastInd[0] = lastInd[1] = -1; // No join with next line segment.
}
}
} else {
} else if (edge[2] != EDGE_CLOSE) {
index = addLineSegment3D(i0, i1, index, null, false);
}
}