per } from '../common/js/BVHHelper.js';

		let camera, scene, renderer;

		let helper, meshGeometry;

		const params = {
			branchingFactor: 2,
			primitivesPerNode: 1,
			depth: 5,
			meshVisible: true
		};

		init();
		animate();

		function init() {

			scene = new THREE.Scene();
			scene.background = new THREE.Color( 0xa0a0a0 );
			scene.fog = new THREE.Fog( 0xa0a0a0, 20, 40 );

			camera = new THREE.PerspectiveCamera( 45, window.innerWidth / window.innerHeight, 0.1, 200 );
			camera.position.set( 0, 3,