瀏覽代碼

update docs

Jaime A Torrealba C 2 年之前
父節點
當前提交
ff481d65b6
共有 3 個文件被更改,包括 6 次插入6 次删除
  1. 1 1
      docs/.vitepress/config.ts
  2. 5 5
      docs/cientos/abstractions/pam-camera-mouse.md
  3. 0 0
      docs/public/cientos/PamCameraMouse.gif

+ 1 - 1
docs/.vitepress/config.ts

@@ -72,7 +72,7 @@ export default defineConfig({
               { text: 'useAnimations', link: '/cientos/abstractions/use-animations' },
               { text: 'Environment', link: '/cientos/abstractions/environment' },
               { text: 'useEnvironment', link: '/cientos/abstractions/use-environment' },
-              { text: 'usePamMouse', link: '/cientos/abstractions/use-pam-mouse' },
+              { text: 'usePamMouse', link: '/cientos/abstractions/pam-camera-mouse' },
             ],
           },
           {

+ 5 - 5
docs/cientos/abstractions/use-pam-mouse.md → docs/cientos/abstractions/pam-camera-mouse.md

@@ -1,17 +1,17 @@
-# usePamMouse
+# PamCameraMouse
 
-![](/cientos/usePamMouse.gif)
+![](/cientos/PamCameraMouse.gif)
 
-`<usePamMouse />` is a component that allow you to create easily the pam mouse camera effect. The camera will update automatically according to the mouse position, creating a beautiful nice effect
+`<PamCameraMouse />` is a component that allow you to create easily the pam mouse camera effect. The camera will update automatically according to the mouse position, creating a beautiful nice effect
 
 ## Usage
 
-You only need import it and use it `<usePamMouse />` additionally you can pass two props, disabled and factor. Factor is a number to increase the movement range of the camera
+You only need import it and use it `<PamCameraMouse />` additionally you can pass two props, disabled and factor. Factor is a number to increase the movement range of the camera
 
 ```vue
 <template>
   <TresCanvas>
-    <usePamMouse />
+    <PamCameraMouse />
     <TresScene>
       <Text3D text="TresJS" font="/fonts/FiraCodeRegular.json">
         <TresMeshNormalMaterial />

+ 0 - 0
docs/public/cientos/usePamMouse.gif → docs/public/cientos/PamCameraMouse.gif