Bläddra i källkod

chore: fix lint

alvarosabu 1 år sedan
förälder
incheckning
affd17cfd1

+ 0 - 1
playground/src/components/DynamicModel.vue

@@ -16,7 +16,6 @@ const { isCube } = useControls({
 })
 
 const model = computed(() => isCube.value ? nodes.Cube : AkuAku)
-
 </script>
 
 <template>

+ 2 - 2
playground/src/pages/index.vue

@@ -4,7 +4,7 @@ import {
   perfRoutes,
   eventsRoutes,
   cameraRoutes,
-modelsRoutes,
+  modelsRoutes,
 } from '../router/routes'
 
 const sections = [
@@ -12,7 +12,7 @@ const sections = [
   { icon: '🏎️', title: 'Perf', routes: perfRoutes },
   { icon: '📣', title: 'Events', routes: eventsRoutes },
   { icon: '📷', title: 'Camera', routes: cameraRoutes },
-  { icon: '🐇', title: 'Models', routes: modelsRoutes }
+  { icon: '🐇', title: 'Models', routes: modelsRoutes },
 ]
 </script>
 

+ 1 - 3
playground/src/pages/models/PrimitivesModel.vue

@@ -27,14 +27,12 @@ const gl = {
 }
 
 useControls('fpsgraph')
-
 </script>
 
 <template>
   <TresLeches />
   <TresCanvas
     v-bind="gl"
-    ref="canvas"
     window-size
     class="awiwi"
     :style="{ background: '#008080' }"
@@ -44,7 +42,7 @@ useControls('fpsgraph')
     />
     <OrbitControls />
 
-     <Suspense>
+    <Suspense>
       <DynamicModel />
     </Suspense>
     <TresAxesHelper :args="[1]" />

+ 1 - 1
playground/src/router/index.ts

@@ -12,7 +12,7 @@ const routes = [
   ...perfRoutes,
   ...eventsRoutes,
   ...cameraRoutes,
-  ...modelsRoutes
+  ...modelsRoutes,
 /*   {
     path: '/',
     name: 'Home',

+ 2 - 2
playground/src/router/routes/index.ts

@@ -1,4 +1,4 @@
-import { modelsRoutes } from './models';
+import { modelsRoutes } from './models'
 import { cameraRoutes } from './cameras'
 import { eventsRoutes } from './events'
 import { basicRoutes } from './basic'
@@ -9,5 +9,5 @@ export {
   perfRoutes,
   eventsRoutes,
   cameraRoutes,
-  modelsRoutes
+  modelsRoutes,
 }