我的 webgl 代码片段:
geo.rect.getEdges({
center: e,
width: waferLayout.dieSize.x,
height: waferLayout.dieSize.y,
}).forEach(edge => {
shape.moveTo(edge.start.x, edge.start.y);
// unknown issue, if remove the 1e-5, it will show mess
shape.lineTo(edge.end.x, edge.end.y + 1e-5);
});
这个问题背后的原因是什么?