dist/axis3d.js
/**
 * Wraps regl constructor with a function that injects a context
 * property exposing the options used to create the regl command.
 * They property merges in regl options found in the injected context
 * before injecting into scope. The constructor options are also assigned
 * to a `.reglOptions` property on the command function.
 *
 * wrap(regl: Function) -> (opts: Object) => regl(opts: Object) -> void
 */
Wraps regl constructor with a function that injects a context
property exposing the options used to create the regl command.
They property merges in regl options found in the injected context
before injecting into scope. The constructor options are also assigned
to a `.reglOptions` property on the command function.

> (opts: Object) => regl(opts: Object) -> void
Wraps regl constructor with a function that injects a context property exposing the options used to create the regl command . They property merges in regl options found in the injected context before injecting into scope . The constructor options are also assigned to a ` . reglOptions ` property on the command function . > ( opts : Object ) = > regl ( opts : Object ) - > void
function wrap(regl) {
  assert('function' == typeof regl, "regl-combine: Expecting regl constructor function.");
  return Object.assign(wrapRegl, regl);
  function wrapRegl(opts) {
    return Object.assign(regl(injectCommandOptions(opts)), _defineProperty({}, kReglOptions, opts));
  }
}
function wrap ( regl ) { assert ( 'function' == typeof regl , "regl-combine: Expecting regl constructor function." ) ; return Object . assign ( wrapRegl , regl ) ; function wrapRegl ( opts ) { return Object . assign ( regl ( injectCommandOptions ( opts ) ) , _defineProperty ( { } , kReglOptions , opts ) ) ; } }
Wraps regl constructor with a function that injects a context
 property exposing the options used to create the regl command.
Wraps regl constructor with a function that injects a context property exposing the options used to create the regl command .