SVGLoaderPointsToStroke constructor
SVGLoaderPointsToStroke()
Implementation
SVGLoaderPointsToStroke(
points,
this.style,
arcDivisions,
minDistance,
this.vertices,
this.normals,
this.uvs,
vertexOffset,
) {
arcDivisions = arcDivisions ?? 12;
minDistance = minDistance ?? 0.001;
vertexOffset = vertexOffset ?? 0;
// First ensure there are no duplicated points
this.points = removeDuplicatedPoints(points);
currentCoordinate = vertexOffset * 3;
currentCoordinateUV = vertexOffset * 2;
}