浏览代码

Update orbit-controls.md

Move quotation around the args
niccybee 2 年之前
父节点
当前提交
ac3823056d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/examples/orbit-controls.md

+ 1 - 1
docs/examples/orbit-controls.md

@@ -34,7 +34,7 @@ Now you can use the `TresOrbitControls` component in your scene.
 ```vue
 <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>