diff --git a/Leaflet_map.js b/Leaflet_map.js index 0a95112..e09436f 100644 --- a/Leaflet_map.js +++ b/Leaflet_map.js @@ -44,22 +44,6 @@ marker.on('click', function(){ //location.replace("https://yuzatyu.edumap.jp/"); - window.addEventListener('resize', function () { - camera.aspect = window.innerWidth / window.innerHeight; - camera.updateProjectionMatrix(); - renderer.setSize(window.innerWidth, window.innerHeight); -}); -// シーンにフォグを追加 -scene.fog = new THREE.Fog(0x000000, 0.1, 1000); -loader.load('class_room_3.glb', function(gltf) { - model = gltf.scene; - model.position.set(10,-10,10); - scene.add(model); - console.log(model); - - // アニメーションを開始 - animate(); -}); var filename = "index.html";