diff --git a/playground/components.d.ts b/playground/components.d.ts index d8528055b..b344e1bd1 100644 --- a/playground/components.d.ts +++ b/playground/components.d.ts @@ -18,6 +18,7 @@ declare module 'vue' { LocalOrbitControls: typeof import('./src/components/LocalOrbitControls.vue')['default'] Overlay: typeof import('./src/components/Overlay.vue')['default'] OverlayInfo: typeof import('./src/components/OverlayInfo.vue')['default'] + PbrSphere: typeof import('./src/components/PbrSphere.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] TakeOverLoopExperience: typeof import('./src/components/TakeOverLoopExperience.vue')['default'] diff --git a/playground/src/components/AkuAku.vue b/playground/src/components/AkuAku.vue deleted file mode 100644 index da35e1437..000000000 --- a/playground/src/components/AkuAku.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/playground/src/components/AnimatedObjectUseUpdate.vue b/playground/src/components/AnimatedObjectUseUpdate.vue index c775616c1..dd28d0121 100644 --- a/playground/src/components/AnimatedObjectUseUpdate.vue +++ b/playground/src/components/AnimatedObjectUseUpdate.vue @@ -53,33 +53,6 @@ watchEffect(() => { off() } }) -/* const anotherLog = useThrottleFn(() => console.log('after render'), 3000) - */ -/* useUpdate(() => { - anotherLog() -}, 1) */ - -/* useUpdate(() => { - console.count('update loop 1') -}) - -useUpdate(() => { - console.count('update loop 2') -}) */ - -/* useUpdate(() => { - console.count('before renderer') -}, -1) - -useUpdate(() => { - console.log('this should be just before render') -}) - -useUpdate((state) => { - if (!sphereRef.value) { return } - console.count('after renderer') - sphereRef.value.position.y += Math.sin(state.elapsed) * 0.01 -}, 2) */