Преглед изворни кода

docs: add ecosystem feature

Alvaro пре 2 година
родитељ
комит
15e6519c4f
2 измењених фајлова са 4 додато и 9 уклоњено
  1. 1 9
      docs/.vitepress/theme/components/FirstScene.vue
  2. 3 0
      docs/index.md

+ 1 - 9
docs/.vitepress/theme/components/FirstScene.vue

@@ -1,17 +1,9 @@
 <script setup lang="ts">
 import { ref, onMounted } from 'vue'
 import { Color, sRGBEncoding, ACESFilmicToneMapping } from 'three'
-import { OrbitControls, useTweakPane } from '@tresjs/cientos'
-
-import Cone from './Cone.vue'
-import Cube from './Cube.vue'
-import Sphere from './Sphere.vue'
-import Ground from './Ground.vue'
-
+import { OrbitControls } from '@tresjs/cientos'
 const LightRef = ref()
 
-useTweakPane()
-
 onMounted(() => {
   LightRef.value.shadow.mapSize.set(1024, 1024)
   LightRef.value.shadow.camera.near = 0.5

+ 3 - 0
docs/index.md

@@ -32,4 +32,7 @@ features:
   - icon: 🥰
     title: Keeps up to date
     details: It brings all the updated features of ThreeJS right away.
+  - icon: 🌳
+    title: Ecosystem
+    details: Extend the core functionality with packages like `cientos` and `postprocessing`. Or add your own.
 ---