Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pmndrs/gltfjsx
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Dec 29, 2022
2 parents 045e94c + 15a6b9e commit 2cdd268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function Model(props) {
useGLTF.preload('/model.gltf')
```

Add the model to your `/public` folder as always. With the `--transform` flag it has created a compressed copy of it. Without the flag just copy the original model. In the above case it will have create a file named `model-transformed.glb`.
Add your model to your `/public` folder as you would normally do. With the `--transform` flag it has created a compressed copy of it (in the above case `model-transformed.glb`). Without the flag just copy the original model.

```text
/public
Expand Down Expand Up @@ -279,6 +279,6 @@ it('should have a scene with a blue mesh', async () => {
- Nodejs must be installed
- The GLTF file has to be present in your projects `/public` folder
- [three](https://github.com/mrdoob/three.js/) (>= 121.x)
- [three](https://github.com/mrdoob/three.js/) (>= 122.x)
- [@react-three/fiber](https://github.com/pmndrs/react-three-fiber) (>= 5.x)
- [@react-three/drei](https://github.com/pmndrs/drei) (>= 2.x)

0 comments on commit 2cdd268

Please sign in to comment.