回答編集履歴
1
henkou
test
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
//document.body.appendChild(renderer.domElement);
|
52
52
|
|
53
|
-
document.getElementById("
|
53
|
+
document.getElementById("test").appendChild(renderer.domElement);
|
54
54
|
|
55
55
|
return renderer;
|
56
56
|
|
@@ -104,10 +104,6 @@
|
|
104
104
|
|
105
105
|
function update() {
|
106
106
|
|
107
|
-
// mesh.rotation.x += 0.01;
|
108
|
-
|
109
|
-
// mesh.rotation.y += 0.01;
|
110
|
-
|
111
107
|
controls.update();
|
112
108
|
|
113
109
|
requestAnimationFrame(update);
|