Commit 1d678a7c authored by Mike Bostock's avatar Mike Bostock
Browse files

Merge branch 'master' of https://github.com/lukasappelhans/d3

parents 44b98b05 dab64a2c
......@@ -67,5 +67,5 @@ function d3_geo_pointInPolygon(point, polygon) {
// from the point to the South pole. If it is zero, then the point is the
// same side as the South pole.
return (polarAngle < -ε || polarAngle < ε && d3_geo_areaRingSum < 0) ^ (winding & 1);
return (polarAngle < -ε || polarAngle < ε && d3_geo_areaRingSum < -ε) ^ (winding & 1);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment