shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$particle_container$shared$utils$createIndicesForQuads = function(global, require, module, exports) {
  exports.createIndicesForQuads = function(size, outBuffer = null) {
    size *= 6;
    65535 < size ? outBuffer || (outBuffer = new Uint32Array(size)) : outBuffer || (outBuffer = new Uint16Array(size));
    if (outBuffer.length !== size) {
      throw Error(`Out buffer length is incorrect, got ${outBuffer.length} and expected ${size}`);
    }
    for (let i = 0, j = 0; i < size; i += 6, j += 4) {
      outBuffer[i + 0] = j + 0, outBuffer[i + 1] = j + 1, outBuffer[i + 2] = j + 2, outBuffer[i + 3] = j + 0, outBuffer[i + 4] = j + 2, outBuffer[i + 5] = j + 3;
    }
    return outBuffer;
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$particle_container$shared$utils$createIndicesForQuads.js.map
