Skip to content
Permalink
Browse files

gitIgnore fix

  • Loading branch information...
Pryme8 committed Feb 22, 2019
1 parent a2f89ba commit 55bcfa05c8860c371a3839261e937ed151076e76
Showing with 3 additions and 4 deletions.
  1. +1 −2 .gitignore
  2. +2 −2 serializers/src/stl/stlSerializer.ts
@@ -196,5 +196,4 @@ gui/dist/
/Viewer/tests/tsc
/Viewer/tests/tsc.cmd
/Viewer/tests/tsserver
/Viewer/tests/tsserver.cmd
dist/preview release/babylon.max.js.map
/Viewer/tests/tsserver.cmd
@@ -25,7 +25,7 @@ export class STLExport {
new Vector3(vertices[id[0]], vertices[id[0] + 1], vertices[id[0] + 2]),
new Vector3(vertices[id[1]], vertices[id[1] + 1], vertices[id[1] + 2]),
new Vector3(vertices[id[2]], vertices[id[2] + 1], vertices[id[2] + 2])
];
];
let p1p2 = v[0].subtract(v[1]);
let p3p2 = v[2].subtract(v[1]);
let n = (Vector3.Cross(p1p2, p3p2)).normalize();
@@ -37,7 +37,7 @@ export class STLExport {
data += '\t\tvertex ' + v[2].x + ' ' + v[2].y + ' ' + v[2].z + '\r\n';
data += '\tendloop\r\n';
data += 'endfacet\r\n';
}
}
data += 'endsolid exportedMesh';

if (download) {

0 comments on commit 55bcfa0

Please sign in to comment.
You can’t perform that action at this time.