Browse Source

Update orbit-controls.md

Move quotation around the args
niccybee 2 năm trước cách đây
mục cha
commit
ac3823056d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 ```vue
 <template>
 <template>
   <TresCanvas shadows alpha>
   <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]" />
     <TresOrbitControls v-if="state.renderer" :args="[state.camera, state.renderer?.domElement]" />
   </TresCanvas>
   </TresCanvas>
 </template>
 </template>