瀏覽代碼

Fix error in example code (#320)

Rouven Bühlmann 1 年之前
父節點
當前提交
8ae3190b9d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/api/composables.md

+ 1 - 1
docs/api/composables.md

@@ -133,7 +133,7 @@ Then you can bind the textures to the material.
 <template>
   <TresCanvas>
     <TresMesh>
-      <TresMeshSphereGeometry />
+      <TresSphereGeometry />
       <TresMeshStandardMaterial
         :map="map"
         :displacementMap="displacementMap"