hachure-fill
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -123,3 +123,3 @@ function rotatePoints(points, center, degrees) { | ||
// fill between the edges | ||
if (iteration % gap === 0) { | ||
if ((hachureStepOffset !== 1) || (iteration % gap === 0)) { | ||
if (activeEdges.length > 1) { | ||
@@ -126,0 +126,0 @@ for (let i = 0; i < activeEdges.length; i = i + 2) { |
{ | ||
"name": "hachure-fill", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Fill a polygon with lines ", | ||
@@ -5,0 +5,0 @@ "main": "bin/hachure.js", |
8675