src/components/raycaster.js
function (el) {
    var i;
    var intersection;
    for (i = 0; i < this.intersections.length; i++) {
      intersection = this.intersections[i];
      if (intersection.object.el === el) { return intersection; }
    }
    return null;
  }
function (el) {
    var i;
    var intersection;
    for (i = 0; i < this.intersections.length; i++) {
      intersection = this.intersections[i];
      if (intersection.object.el === el) { return intersection; }
    }
    return null;
  }
function ( el ) { var i ; var intersection ; for ( i = 0 ; i < this . intersections . length ; i ++ ) { intersection = this . intersections [ i ] ; if ( intersection . object . el === el ) { return intersection ; } } return null ; }
Return the most recent intersection details for a given entity, if any.
@param {AEntity} el
@return {Object}
Return the most recent intersection details for a given entity if any .