Alvaro hace 2 años
padre
commit
60023dd5ad
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. 0 0
      packages/cientos/stats.html
  2. 3 2
      packages/tres/src/App.vue

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
packages/cientos/stats.html


+ 3 - 2
packages/tres/src/App.vue

@@ -1,6 +1,7 @@
 <script setup lang="ts">
 /* import { Color } from 'three' */
-import { useTweakPane, OrbitControls } from '../../cientos/src'
+/* import { useTweakPane, OrbitControls } from '../../cientos/src' */
+import { useTweakPane, OrbitControls } from '@tresjs/cientos'
 /* import TestSphere from '/@/components/TestSphere.vue' */
 /* import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'
 import { useTres, useCatalogue } from '/@/core' */
@@ -30,7 +31,7 @@ useTweakPane()
         <!--  <TresOrbitControls v-if="state.renderer" :args="[state.camera, state.renderer?.domElement]" /> -->
         <TresMesh :position="[0, 0, 0]">
           <TresBoxGeometry />
-          <TresMeshBasicMaterial color="orange" />
+          <TresMeshNormalMaterial />
         </TresMesh>
         <TresAxesHelper :args="[1]" :visible="false" />
         <TresDirectionalLight :position="[0, 2, 4]" :intensity="2" cast-shadow />

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio