bump rev 3.0.D13

This commit is contained in:
Stewart Allen 2021-07-07 22:40:53 -04:00
commit 1e1da6689c
4 changed files with 6 additions and 5 deletions

View file

@ -520,8 +520,6 @@
fill = numOrDefault(opts.fill, ClipperLib.PolyFillType.pftNonZero),
join = numOrDefault(opts.join, ClipperLib.JoinType.jtMiter),
type = numOrDefault(opts.type, ClipperLib.EndType.etClosedPolygon),
coff = new ClipperLib.ClipperOffset(opts.miter, opts.arc),
ctre = new ClipperLib.PolyTree(),
// if dist is array with values, shift out next offset
offs = Array.isArray(dist) ? (dist.length > 1 ? dist.shift() : dist[0]) : dist,
mina = numOrDefault(opts.minArea, 0.1),
@ -530,6 +528,9 @@
if (opts.wasm && geo.wasm) {
polys = geo.wasm.js.offset(polys, offs, zed);
} else {
let coff = new ClipperLib.ClipperOffset(opts.miter, opts.arc),
ctre = new ClipperLib.PolyTree();
// setup offset
for (let poly of polys) {
// convert to clipper format

View file

@ -6,7 +6,7 @@
if (!self.kiri) {
self.kiri = {
beta: 3012,
beta: 3013,
driver: {}, // driver modules
loader: [] // module loading: array of functions
};

View file

@ -3,7 +3,7 @@
let terms = {
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
LICENSE: "See the license.md file included with the source distribution",
VERSION: "3.0.D12"
VERSION: "3.0.D13"
};
if (typeof(module) === 'object') {