vizicities/src/engine/DOMScene2D.js

10 wiersze
246 B
JavaScript
Executable File

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();
return scene;
})();