s';

			// Add the extension functions
			THREE.BufferGeometry.prototype.computeBoundsTree = computeBoundsTree;
			THREE.BufferGeometry.prototype.disposeBoundsTree = disposeBoundsTree;
			THREE.Mesh.prototype.raycast = acceleratedRaycast;

			let stats;
			let camera, scene, renderer;
			let mesh, helper, bvh;
			let sphereInstance, lineSegments;

			// reusable variables
			const _raycaster = new THREE.Raycaster();
			const _position = new THREE.Vector3();
			const _quaternion = new THREE.Quaternion();
			