|
|
@ -236,7 +236,7 @@
|
|
|
|
function initScene() {
|
|
|
|
function initScene() {
|
|
|
|
const C = document.getElementById('container');
|
|
|
|
const C = document.getElementById('container');
|
|
|
|
scene = new THREE.Scene();
|
|
|
|
scene = new THREE.Scene();
|
|
|
|
scene.background = new THREE.Color(0xffffff);
|
|
|
|
scene.background = new THREE.Color(0xffffff);
|
|
|
|
|
|
|
|
|
|
|
|
camera = new THREE.PerspectiveCamera(50, C.clientWidth / C.clientHeight, 0.1, 5000);
|
|
|
|
camera = new THREE.PerspectiveCamera(50, C.clientWidth / C.clientHeight, 0.1, 5000);
|
|
|
|
camera.position.set(200, 200, 200);
|
|
|
|
camera.position.set(200, 200, 200);
|
|
|
|