Skip to content

Commit 70b9761

Browse files
committed
Linting
1 parent 02e129f commit 70b9761

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/webgl-preview.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,16 +483,16 @@ export class WebGLPreview {
483483

484484
const lineVertices: number[] = [];
485485

486-
// lines need to be offset.
486+
// lines need to be offset.
487487
// The gcode specifies the nozzle height which is the top of the extrusion.
488488
// The line doesn't have a constant height in world coords so it should be rendered at horizontal midplane of the extrusion layer.
489489
// Otherwise the line will be clipped by the clipping plane.
490490
const offset = -this.lineHeight / 2;
491491

492492
paths.forEach((path) => {
493493
for (let i = 0; i < path.vertices.length - 3; i += 3) {
494-
lineVertices.push(path.vertices[i], path.vertices[i + 1] -0.1, path.vertices[i + 2] + offset);
495-
lineVertices.push(path.vertices[i + 3], path.vertices[i + 4]-0.1, path.vertices[i + 5] + offset);
494+
lineVertices.push(path.vertices[i], path.vertices[i + 1] - 0.1, path.vertices[i + 2] + offset);
495+
lineVertices.push(path.vertices[i + 3], path.vertices[i + 4] - 0.1, path.vertices[i + 5] + offset);
496496
}
497497
});
498498

0 commit comments

Comments
 (0)