dist/bas.js
function PrefabBufferGeometry(prefab, count) {
  three.BufferGeometry.call(this);

  /**
   * A reference to the prefab geometry used to create this instance.
   * @type {Geometry|BufferGeometry}
   */
  this.prefabGeometry = prefab;
  this.isPrefabBufferGeometry = prefab.isBufferGeometry;

  /**
   * Number of prefabs.
   * @type {Number}
   */
  this.prefabCount = count;

  /**
   * Number of vertices of the prefab.
   * @type {Number}
   */
  if (this.isPrefabBufferGeometry) {
    this.prefabVertexCount = prefab.attributes.position.count;
  } else {
    this.prefabVertexCount = prefab.vertices.length;
  }

  this.bufferIndices();
  this.bufferPositions();
}
function PrefabBufferGeometry(prefab, count) {
  three.BufferGeometry.call(this);

  /**
   * A reference to the prefab geometry used to create this instance.
   * @type {Geometry|BufferGeometry}
   */
  this.prefabGeometry = prefab;
  this.isPrefabBufferGeometry = prefab.isBufferGeometry;

  /**
   * Number of prefabs.
   * @type {Number}
   */
  this.prefabCount = count;

  /**
   * Number of vertices of the prefab.
   * @type {Number}
   */
  if (this.isPrefabBufferGeometry) {
    this.prefabVertexCount = prefab.attributes.position.count;
  } else {
    this.prefabVertexCount = prefab.vertices.length;
  }

  this.bufferIndices();
  this.bufferPositions();
}
function PrefabBufferGeometry ( prefab , count ) { three . BufferGeometry . call ( this ) ; /**
   * A reference to the prefab geometry used to create this instance.
   * @type {Geometry|BufferGeometry}
   */ this . prefabGeometry = prefab ; this . isPrefabBufferGeometry = prefab . isBufferGeometry ; /**
   * Number of prefabs.
   * @type {Number}
   */ this . prefabCount = count ; /**
   * Number of vertices of the prefab.
   * @type {Number}
   */ if ( this . isPrefabBufferGeometry ) { this . prefabVertexCount = prefab . attributes . position . count ; } else { this . prefabVertexCount = prefab . vertices . length ; } this . bufferIndices ( ) ; this . bufferPositions ( ) ; }
A BufferGeometry where a 'prefab' geometry is repeated a number of times.

@param {Geometry|BufferGeometry} prefab The Geometry instance to repeat.
@param {Number} count The number of times to repeat the geometry.
@constructor
A BufferGeometry where a prefab geometry is repeated a number of times .