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; });