Skip to content

Commit

Permalink
chore: add README for @orillusion/geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
lslzl3000 committed Aug 14, 2024
1 parent 069e6d4 commit 5a9ff20
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions packages/geometry/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Extra geometry plugins for [Orillusion](https://www.orillusion.com)

## Usage
```bash
npm install @orillusion/core --save
npm install @orillusion/geometry --save
```
```ts
import { Scene3D } from "@orillusion/core"
import { TextGeometry } from "@orillusion/geometry"
```

Or access Global build from CDN
```html
<script src="https://unpkg.com/@orillusion/core/dist/orillusion.umd.js"></script>
<script src="https://unpkg.com/@orillusion/geometry/dist/geometry.umd.js"></script>
```

More doc from [Orillusion](https://www.orillusion.com/guide/graphics/mesh.html)
2 changes: 1 addition & 1 deletion packages/geometry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orillusion/geometry",
"version": "0.2.0",
"version": "0.2.1",
"author": "Orillusion",
"description": "Orillusion geometry Plugin",
"main": "./dist/geometry.umd.js",
Expand Down

0 comments on commit 5a9ff20

Please sign in to comment.