|
|
|
@ -166,13 +166,13 @@ export function FastWireframe2(dr: ExtrudeHole, color = 0)
|
|
|
|
|
coords.push(p.x, p.y, height);
|
|
|
|
|
|
|
|
|
|
let edgeGeo = new BufferGeometry();
|
|
|
|
|
edgeGeo.addAttribute('position', new Float32BufferAttribute(edgeCoords, 3));
|
|
|
|
|
geo.addAttribute('position', new Float32BufferAttribute(coords, 3));
|
|
|
|
|
edgeGeo.setAttribute('position', new Float32BufferAttribute(edgeCoords, 3));
|
|
|
|
|
geo.setAttribute('position', new Float32BufferAttribute(coords, 3));
|
|
|
|
|
|
|
|
|
|
let line = new Line(geo, material);
|
|
|
|
|
line.applyMatrix(cu.OCS);
|
|
|
|
|
|
|
|
|
|
let edge = new LineSegments(edgeGeo, material)
|
|
|
|
|
let edge = new LineSegments(edgeGeo, material);
|
|
|
|
|
edge.applyMatrix(cu.OCS);
|
|
|
|
|
|
|
|
|
|
let result = [line, edge];
|
|
|
|
|