vizicities/src/engine/DOMScene2D.js

10 wiersze
251 B
JavaScript
Executable File

import * as 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;
})();