Skip to content

Commit

Permalink
Merge e606c51 into e96678e
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbourSmith committed Nov 15, 2021
2 parents e96678e + e606c51 commit 077249f
Show file tree
Hide file tree
Showing 27 changed files with 69,847 additions and 11,270 deletions.
Binary file modified dist/cgal_browser.wasm
100644 → 100755
Binary file not shown.
166 changes: 137 additions & 29 deletions dist/jsxcad-algorithm-cgal.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/jsxcad-algorithm-pack.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { min, max } from './jsxcad-math-vec3.js';
import { toKeptGeometry, translate, measureBoundingBox } from './jsxcad-geometry.js';
import { toTransformedGeometry, translate, measureBoundingBox } from './jsxcad-geometry.js';

var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

Expand Down Expand Up @@ -306,7 +306,9 @@ const pack = (
[fit.x + xOffset + fit.w, fit.y + yOffset + fit.h, 0],
maxPoint
);
const transformed = toKeptGeometry(translate([xo, yo, -minZ], geometry));
const transformed = toTransformedGeometry(
translate([xo, yo, -minZ], geometry)
);
packedGeometries.push(transformed);
} else {
unpackedGeometries.push(geometry);
Expand Down

0 comments on commit 077249f

Please sign in to comment.