Commit dab64a2c authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Fixes #2025 for me

parent c36befc7
......@@ -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