dist/ingress-model-viewer.js
/**
   * Construct a sphere
   * @param  {context} gl     WebGL context
   * @param  {Number} radius  Radius of the sphere
   * @param  {Number} vSlices Number of vertical slices
   * @param  {Number} hSlices Number of horizontal slices
   */
Construct a sphere
@param  {context} gl     WebGL context
@param  {Number} radius  Radius of the sphere
@param  {Number} vSlices Number of vertical slices
@param  {Number} hSlices Number of horizontal slices
Construct a sphere @param { context } gl WebGL context @param { Number } radius Radius of the sphere @param { Number } vSlices Number of vertical slices @param { Number } hSlices Number of horizontal slices
function SphereMesh(gl, radius, vSlices, hSlices) {
    _classCallCheck(this, SphereMesh);
    var parsed = createSphere(radius, vSlices, hSlices);
    var attributes = new _glAttribute2.default(gl, parsed.attributes, parsed.values);
    var faces = new _glIndex2.default(gl, parsed.faces, gl.TRIANGLES);
    return _possibleConstructorReturn(this, (SphereMesh.__proto__ || Object.getPrototypeOf(SphereMesh)).call(this, gl, attributes, faces));
  }
function SphereMesh ( gl , radius , vSlices , hSlices ) { _classCallCheck ( this , SphereMesh ) ; var parsed = createSphere ( radius , vSlices , hSlices ) ; var attributes = new _glAttribute2 . default ( gl , parsed . attributes , parsed . values ) ; var faces = new _glIndex2 . default ( gl , parsed . faces , gl . TRIANGLES ) ; return _possibleConstructorReturn ( this , ( SphereMesh . __proto__ || Object . getPrototypeOf ( SphereMesh ) ) . call ( this , gl , attributes , faces ) ) ; }
Construct a sphere
 @param  {context} gl     WebGL context
 @param  {Number} radius  Radius of the sphere
 @param  {Number} vSlices Number of vertical slices
 @param  {Number} hSlices Number of horizontal slices
Construct a sphere @param { context } gl WebGL context @param { Number } radius Radius of the sphere @param { Number } vSlices Number of vertical slices @param { Number } hSlices Number of horizontal slices