🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@matboks/utilities

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matboks/utilities - npm Package Compare versions

Comparing version
0.0.18
to
0.0.19
+2
-5
dist/utilities/marching-squares.d.ts
import * as MarchingSquares from "marching-squares";
import { Vec2, Polygon, AABB } from "../geometry/index.js";
import { Vec2, Polygon, AABB, Hollowgon } from "../geometry/index.js";
type ContouringOptions = {

@@ -14,6 +14,3 @@ fn: (v: Vec2) => number;

};
type Isoband = {
boundary: Polygon;
holes: Array<Polygon>;
};
type Isoband = Hollowgon;
type IsobandResult = {

@@ -20,0 +17,0 @@ isobands: Array<Isoband>;

import * as MarchingSquares from "marching-squares";
import { vec2, Polygon } from "../geometry/index.js";
import { vec2, Polygon, Hollowgon } from "../geometry/index.js";
import { Resolution } from "./resolution.js";

@@ -168,3 +168,3 @@ export class Contouring {

activeShape.makeCounterClockwise();
isobands.push({ boundary: activeShape, holes });
isobands.push(new Hollowgon(activeShape, holes));
}

@@ -171,0 +171,0 @@ for (let i = 0; i < n; i++) {

{
"name": "@matboks/utilities",
"version": "0.0.18",
"version": "0.0.19",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "files": [