dist/indoor.esm.js
/**
   * Creates a custom normalized event object from touch and mouse events
   * @param  {Event} ev
   * @returns {Object} with x, y, and id properties
   */
Creates a custom normalized event object from touch and mouse events
@param  {Event} ev
@returns {Object} with x, y, and id properties
Creates a custom normalized event object from touch and mouse events @param { Event } ev @returns { Object } with x y and id properties
function normalizeEvent(ev) {
    if (ev.type === 'touchmove' || ev.type === 'touchstart' || ev.type === 'touchend') {
      var touch = ev.targetTouches[0] || ev.changedTouches[0];
      return {
        x: touch.clientX,
        y: touch.clientY,
        id: touch.identifier
      };
    } 
    return {
      x: ev.clientX,
      y: ev.clientY,
      id: null
    };
  }
function normalizeEvent ( ev ) { if ( ev . type === 'touchmove' || ev . type === 'touchstart' || ev . type === 'touchend' ) { var touch = ev . targetTouches [ 0 ] || ev . changedTouches [ 0 ] ; return { x : touch . clientX , y : touch . clientY , id : touch . identifier } ; } return { x : ev . clientX , y : ev . clientY , id : null } ; }
Creates a custom normalized event object from touch and mouse events
 @param  {Event} ev
 @returns {Object} with x, y, and id properties
Creates a custom normalized event object from touch and mouse events @param { Event } ev @returns { Object } with x y and id properties
// mouse events