Skip to content

Commit

Permalink
updated ctor api doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed Oct 15, 2020
1 parent 3a96160 commit d89b58e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ Live result: [Basic Subtract](https://ycw.github.io/three-csg-modeller/examples/

## API

### `Modeller`
### `CSGModeller`

`new CSGModeller(THREE)`
- Construct a modeller. `THREE` is the three.js lib.

`.model(mesh)`
- Create a `Model` instance from a mesh whose `.geometry` must be a `BufferGeometry`.
Expand Down

0 comments on commit d89b58e

Please sign in to comment.