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