code: function() {
          var cone = new Cone$1({
              topRadius: this.radius,
              bottomRadius: this.radius,
              capSegments: this.capSegments,
              heightSegments: this.heightSegments,
              height: this.height
          });
  
          this.attributes.position.value = cone.attributes.position.value;
          this.attributes.normal.value = cone.attributes.normal.value;
          this.attributes.texcoord0.value = cone.attributes.texcoord0.value;
          this.indices = cone.indices;
  
          this.boundingBox = cone.boundingBox;
      }
docs: Build cylinder geometry