dist/ingress-model-viewer.js
/**
 * Creates a media item
 *
 * @private
 * @param  {String} name Media mesh internal name
 * @return {media}       A TexturedDrawable with the Textured program,
 *                       the specified mesh, and the flipcard texture.
 */
Creates a media item
@private
@param  {String} name Media mesh internal name
@return {media}       A TexturedDrawable with the Textured program,
the specified mesh, and the flipcard texture.
Creates a media item @private @param { String } name Media mesh internal name @return { media } A TexturedDrawable with the Textured program the specified mesh and the flipcard texture .
function createMedia(name) {
  var media = function (_TexturedDrawable) {
    _inherits(media, _TexturedDrawable);
    function media() {
      _classCallCheck(this, media);
      return _possibleConstructorReturn(this, (media.__proto__ || Object.getPrototypeOf(media)).call(this, _constants2.default.Program.Textured, meshes[name], _constants2.default.Texture.FlipCard));
    }
    return media;
  }(_textured2.default);
  return media;
}
function createMedia ( name ) { var media = function ( _TexturedDrawable ) { _inherits ( media , _TexturedDrawable ) ; function media ( ) { _classCallCheck ( this , media ) ; return _possibleConstructorReturn ( this , ( media . __proto__ || Object . getPrototypeOf ( media ) ) . call ( this , _constants2 . default . Program . Textured , meshes [ name ] , _constants2 . default . Texture . FlipCard ) ) ; } return media ; } ( _textured2 . default ) ; return media ; }
Creates a media item
 @private
 @param  {String} name Media mesh internal name
 @return {media}       A TexturedDrawable with the Textured program,
                       the specified mesh, and the flipcard texture.
Creates a media item @private @param { String } name Media mesh internal name @return { media } A TexturedDrawable with the Textured program the specified mesh and the flipcard texture .