Skip to content

Commit

Permalink
chore: remove earcut npm package (Orillusion#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeboy-cn authored Jul 25, 2024
1 parent b6b4bce commit 14c80e4
Show file tree
Hide file tree
Showing 8 changed files with 1,070 additions and 344 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"devDependencies": {
"@webgpu/types": "^0.1.40",
"conventional-changelog-cli": "^2.2.2",
"earcut": "^2.2.4",
"electron": "^31.1.0",
"typedoc": "^0.25.7",
"typedoc-plugin-markdown": "^3.17.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/graphic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * from "./renderer/GrassRenderer"
export * from "./renderer/Shape3DRenderer"
export * from "./renderer/Shape3DMaker"
export * from "./renderer/shape3d/RoundRectShape3D"
export * from "./renderer/shape3d/Earcut"
export * from "./renderer/shape3d/EllipseShape3D"
export * from "./renderer/shape3d/CircleShape3D"
export * from "./renderer/shape3d/QuadraticCurveShape3D"
Expand All @@ -24,4 +25,4 @@ export * from "./renderer/graphic3d/Graphic3DFaceRenderer"
export * from "./renderer/graphic3d/Graphic3DMesh"
export * from "./renderer/graphic3d/Graphic3DMeshRenderer"
export * from "./renderer/graphic3d/Graphic3DRibbonRenderer"
export * from "./renderer/graphic3d/ShapeInfo"
export * from "./renderer/graphic3d/ShapeInfo"
3 changes: 1 addition & 2 deletions packages/graphic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"url": "git+https://github.com/Orillusion/orillusion.git"
},
"dependencies": {
"@orillusion/core": "^0.8.0",
"earcut": "^2.2.4"
"@orillusion/core": "^0.8.0"
}
}
Loading

0 comments on commit 14c80e4

Please sign in to comment.