Skip to content

Commit

Permalink
Update to enable3d v0.22.0-dev.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed Feb 18, 2021
1 parent 8bc8e8d commit 4276028
Show file tree
Hide file tree
Showing 5 changed files with 5,005 additions and 329 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
debug.log
index.js
index.js
package-lock.json
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
Just an example. Not for development or production use.
# Three.js & ammo.js

Run `npm i` and `npm start`
Just a simple example of Three.js with ammo.js

You don't need to install three.js. Just import it using:
`import * as THREE from '@enable3d/three-wrapper/dist'`

You can use code from the three.js examples folder:
`import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'`
Run `npm install` and `npm start`
Loading

0 comments on commit 4276028

Please sign in to comment.