delaunay.js 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/readme.md +1 -2
- package/src/index.js +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "delaunay.js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Delaunay triangulation using the Bowyer-Watson algorithm, in JavaScript ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"triangulation",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "Johan Karlsson (DonKarlssonSan)",
|
|
23
23
|
"type": "module",
|
|
24
|
-
"main": "src/
|
|
24
|
+
"main": "src/index.js",
|
|
25
25
|
"files": [
|
|
26
26
|
"src/"
|
|
27
27
|
],
|
package/readme.md
CHANGED
|
@@ -27,8 +27,7 @@ let triangles = bowyerWatson(superTriangle, pointList);
|
|
|
27
27
|
A more complete example:
|
|
28
28
|
|
|
29
29
|
```JavaScript
|
|
30
|
-
import bowyerWatson from 'delaunay.js';
|
|
31
|
-
import Triangle from 'delaunay.js/triangle.js';
|
|
30
|
+
import { bowyerWatson, Triangle } from 'delaunay.js';
|
|
32
31
|
import Vector from 'vectory-lib';
|
|
33
32
|
|
|
34
33
|
function getRandomPoints() {
|
package/src/index.js
ADDED