mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 12:53:52 +01:00
fix edge rendering
This commit is contained in:
parent
0340fc7f0d
commit
e3c12d45cd
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ export class BREPSceneSolid extends SceneSolid {
|
|||
const line = new THREE.Line(undefined, WIREFRAME_MATERIAL);
|
||||
const contour = edge.curve.tessellate();
|
||||
for (let p of contour) {
|
||||
line.geometry.vertices.push(new THREE.Vector3().fromArray(p));
|
||||
line.geometry.vertices.push(p.three());
|
||||
}
|
||||
this.wireframeGroup.add(line);
|
||||
line.__TCAD_EDGE = edge;
|
||||
|
|
|
|||
Loading…
Reference in a new issue