kopia lustrzana https://github.com/robhawkes/vizicities
11 wiersze
295 B
JavaScript
11 wiersze
295 B
JavaScript
import THREE from 'three';
|
|
|
|
// This can be imported from anywhere and will still reference the same scene,
|
|
// though there is a helper reference in Engine.scene
|
|
|
|
export default (function() {
|
|
var scene = new THREE.Scene();
|
|
scene.fog = new THREE.Fog(0xffffff, 1, 15000);
|
|
return scene;
|
|
})();
|