質問編集履歴

2

記載不足

2019/08/27 09:59

投稿

akatsuki1910
akatsuki1910

スコア14

test CHANGED
File without changes
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  tex.position.set(0,0,0);
40
40
 
41
- change();
41
+ animate();
42
42
 
43
43
  });
44
44
 
@@ -51,6 +51,18 @@
51
51
  tex.scale.y=5;//変更されない
52
52
 
53
53
  tex.scale.z=5;//変更されない
54
+
55
+ }
56
+
57
+
58
+
59
+ function animate(){
60
+
61
+ requestAnimationFrame(animate);
62
+
63
+ change();
64
+
65
+ renderer.render(stage);
54
66
 
55
67
  }
56
68
 

1

記載不足

2019/08/27 09:59

投稿

akatsuki1910
akatsuki1910

スコア14

test CHANGED
File without changes
test CHANGED
@@ -38,13 +38,21 @@
38
38
 
39
39
  tex.position.set(0,0,0);
40
40
 
41
+ change();
42
+
41
43
  });
42
44
 
43
- tex.scale.x=5;//変更されない
44
45
 
45
- tex.scale.y=5;//変更されない
46
46
 
47
+ function change(){
48
+
49
+ tex.scale.x=5;//変更されない
50
+
51
+ tex.scale.y=5;//変更されない
52
+
47
- tex.scale.z=5;//変更されない
53
+ tex.scale.z=5;//変更されない
54
+
55
+ }
48
56
 
49
57
  ```
50
58