|
|
@ -18,7 +18,9 @@ var areaNames = [ ] |
|
|
|
|
|
|
|
|
|
|
|
var areasWithEntitiesToUpdate = { } |
|
|
|
var areasWithEntitiesToUpdate = { } |
|
|
|
|
|
|
|
|
|
|
|
const renderer = new THREE.WebGLRenderer() |
|
|
|
const renderer = new THREE.WebGLRenderer({ |
|
|
|
|
|
|
|
logarithmicDepthBuffer : true |
|
|
|
|
|
|
|
}) |
|
|
|
renderer.setSize( window.innerWidth, window.innerHeight ) |
|
|
|
renderer.setSize( window.innerWidth, window.innerHeight ) |
|
|
|
document.body.appendChild( renderer.domElement ) |
|
|
|
document.body.appendChild( renderer.domElement ) |
|
|
|
|
|
|
|
|
|
|
@ -75,7 +77,7 @@ function animate() { |
|
|
|
fadeIn.start() |
|
|
|
fadeIn.start() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
homeContainer.rotation.z += 0.005 |
|
|
|
homeContainer.rotation.z += 0.003 |
|
|
|
|
|
|
|
|
|
|
|
renderer.render( scene, camera ) |
|
|
|
renderer.render( scene, camera ) |
|
|
|
} |
|
|
|
} |
|
|
|