Skip to content

Commit

Permalink
docs: fix orbit-controls example typo (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItMaga authored Oct 3, 2023
1 parent a0566d9 commit 8738f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/orbit-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const { state } = useTres()
</script>
<template>
<TresCanvas shadows alpha>
<TresPerspectiveCamera :args="[45," 1, 0.1, 1000] />
<TresPerspectiveCamera :args="[45, 1, 0.1, 1000]" />
<TresOrbitControls v-if="state.renderer" :args="[state.camera, state.renderer?.domElement]" />
</TresCanvas>
</template>
Expand All @@ -80,7 +80,7 @@ It just works. 💯
```vue
<template>
<TresCanvas shadows alpha>
<TresPerspectiveCamera :args="[45," 1, 0.1, 1000] />
<TresPerspectiveCamera :args="[45, 1, 0.1, 1000]" />
<OrbitControls />
</TresCanvas>
</template>
Expand Down

0 comments on commit 8738f22

Please sign in to comment.