src/primitives.js
function createCylinderVertices(
    radius,
    height,
    radialSubdivisions,
    verticalSubdivisions,
    topCap,
    bottomCap) {
  return createTruncatedConeVertices(
      radius,
      radius,
      height,
      radialSubdivisions,
      verticalSubdivisions,
      topCap,
      bottomCap);
}
function createCylinderVertices(
    radius,
    height,
    radialSubdivisions,
    verticalSubdivisions,
    topCap,
    bottomCap) {
  return createTruncatedConeVertices(
      radius,
      radius,
      height,
      radialSubdivisions,
      verticalSubdivisions,
      topCap,
      bottomCap);
}
function createCylinderVertices ( radius , height , radialSubdivisions , verticalSubdivisions , topCap , bottomCap ) { return createTruncatedConeVertices ( radius , radius , height , radialSubdivisions , verticalSubdivisions , topCap , bottomCap ) ; }
Creates cylinder buffers. The cylinder will be created around the origin
along the y-axis.

@param {WebGLRenderingContext} gl The WebGLRenderingContext.
@param {number} radius Radius of cylinder.
@param {number} height Height of cylinder.
@param {number} radialSubdivisions The number of subdivisions around the cylinder.
@param {number} verticalSubdivisions The number of subdivisions down the cylinder.
@param {boolean} [topCap] Create top cap. Default = true.
@param {boolean} [bottomCap] Create bottom cap. Default = true.
@return {Object.<string, WebGLBuffer>} The created buffers.
@memberOf module:twgl/primitives
@function createCylinderBuffers
 
Creates cylinder vertices. The cylinder will be created around the origin
along the y-axis.

@param {number} radius Radius of cylinder.
@param {number} height Height of cylinder.
@param {number} radialSubdivisions The number of subdivisions around the cylinder.
@param {number} verticalSubdivisions The number of subdivisions down the cylinder.
@param {boolean} [topCap] Create top cap. Default = true.
@param {boolean} [bottomCap] Create bottom cap. Default = true.
@return {Object.<string, TypedArray>} The created vertices.
@memberOf module:twgl/primitives
Creates cylinder buffers . The cylinder will be created around the origin along the y - axis .