poly-extrude 0.18.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * poly-extrude v0.18.0
2
+ * poly-extrude v0.18.1
3
3
  */
4
4
  (function (global, factory) {
5
5
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -4611,7 +4611,7 @@
4611
4611
  if (!first) {
4612
4612
  const begin1 = verticesCount - (radialSegments) * 2;
4613
4613
  const begin2 = verticesCount - (radialSegments);
4614
- for (let i = 0; i < radialSegments; i++) {
4614
+ for (let i = 0; i < radialSegments - 1; i++) {
4615
4615
  indices[++iIndex] = begin2 + i;
4616
4616
  indices[++iIndex] = begin1 + i;
4617
4617
  indices[++iIndex] = begin1 + i + 1;