import 'xrblocks/addons/simulator/SimulatorAddons.js';
import RAPIER from '@dimforge/rapier3d-simd-compat';
import * as xb from 'xrblocks';
import {Drone} from './Drone.js';
const options = new xb.Options();
options.depth = new xb.DepthOptions(xb.xrDepthMeshPhysicsOptions);
options.depth.depthMesh.updateFullResolutionGeometry = true;
options.xrButton = {
...options.xrButton,
startText: ' LET THE FUN BEGIN',
endText: ' MISSION COMPLETE',
};
options.physics.RAPIER = RAPIER;
document.addEventListener('DOMContentLoaded', async function () {
xb.add(new Drone());
await xb.init(options);
});