rs.module.js';

    // The path of the CDN the sample will fetch controller models from.
    const DEFAULT_PROFILES_PATH = 'https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0/dist/profiles';

    // XR globals.
    let xrButton = null;
    let xrRefSpace = null;
    let isAR = false;
    let radii = new Float32Array(25);
    let positions = new Float32Array(16*25);
    
    // Boxes
    let boxes_left = [];
    let boxes_right = [];
    let boxes_none = [];
    let tracked_boxes_left = [];
    le