From 0e21aeaf28dc308c4d657d4a6117231b4f7d6a1e Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sat, 19 Sep 2020 12:18:55 +0200 Subject: [PATCH] wip --- src/components/Test1.vue | 4 ++-- src/components/Test2.vue | 2 +- src/components/Test3.vue | 2 +- src/components/Test4.vue | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/Test1.vue b/src/components/Test1.vue index 420c166..8242a50 100644 --- a/src/components/Test1.vue +++ b/src/components/Test1.vue @@ -1,10 +1,10 @@ diff --git a/src/components/Test2.vue b/src/components/Test2.vue index 0cc6d32..5f9b78f 100644 --- a/src/components/Test2.vue +++ b/src/components/Test2.vue @@ -6,7 +6,7 @@ - + diff --git a/src/components/Test3.vue b/src/components/Test3.vue index 2adfa00..27778ee 100644 --- a/src/components/Test3.vue +++ b/src/components/Test3.vue @@ -5,7 +5,7 @@ - + diff --git a/src/components/Test4.vue b/src/components/Test4.vue index 7308dcc..3c35486 100644 --- a/src/components/Test4.vue +++ b/src/components/Test4.vue @@ -7,7 +7,7 @@ ref="text" text="TroisJS" font-src="helvetiker_regular.typeface.json" - material="material" + material-id="material" align="center" @ready="anim" > @@ -19,7 +19,6 @@ export default { methods: { anim() { - console.log('anim'); this.$refs.renderer.onBeforeRender(() => { this.$refs.text.mesh.rotation.x += 0.01; });