Browse Source

chore: fix catalogue test

alvarosabu 2 years ago
parent
commit
c088c502a0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      playground/src/components/TheFirstScene.vue

+ 2 - 1
playground/src/components/TheFirstScene.vue

@@ -1,11 +1,12 @@
 <script setup lang="ts">
 import { TresCanvas } from '@tresjs/core'
+import { Vector3 } from 'three'
 </script>
 
 <template>
   <TresCanvas ref="context" clear-color="#82DBC5" window-size>
     <TresPerspectiveCamera />
-    <TresMesh>
+    <TresMesh :position="[1, 2, 3]" :scale="new Vector3(2, 2, 2)" :rotation="{ x: 1, y: 1, z: 1 }">
       <TresTorusGeometry :args="[1, 0.5, 16, 32]" />
       <TresMeshBasicMaterial color="orange" />
     </TresMesh>