dist/ingress-model-viewer.js
/**
 * Creates the outer "shell" for an xm item.
 *
 * @private
 * @param  {String} name Internal name of the mesh
 * @return {itembase}    A BicoloredDrawable with the specified mesh name
 *                       and the flipcard texture
 */
Creates the outer "shell" for an xm item.
@private
@param  {String} name Internal name of the mesh
@return {itembase}    A BicoloredDrawable with the specified mesh name
and the flipcard texture
Creates the outer " shell " for an xm item . @private @param { String } name Internal name of the mesh @return { itembase } A BicoloredDrawable with the specified mesh name and the flipcard texture
function createShell(name) {
  var itembase = function (_BicoloredDrawable) {
    _inherits(itembase, _BicoloredDrawable);
    function itembase() {
      _classCallCheck(this, itembase);
      return _possibleConstructorReturn(this, (itembase.__proto__ || Object.getPrototypeOf(itembase)).call(this, meshes[name], textures.FlipCard));
    }
    return itembase;
  }(_bicolored2.default);
  return itembase;
}
function createShell ( name ) { var itembase = function ( _BicoloredDrawable ) { _inherits ( itembase , _BicoloredDrawable ) ; function itembase ( ) { _classCallCheck ( this , itembase ) ; return _possibleConstructorReturn ( this , ( itembase . __proto__ || Object . getPrototypeOf ( itembase ) ) . call ( this , meshes [ name ] , textures . FlipCard ) ) ; } return itembase ; } ( _bicolored2 . default ) ; return itembase ; }
Creates the outer "shell" for an xm item.
Creates the outer " shell " for an xm item .