This commit is contained in:
Josh Deprez 2021-09-08 17:49:30 +10:00
parent a4d2dd9344
commit dccd13b623

View file

@ -136,7 +136,6 @@ func polygonRectOverlap(polygon []image.Point, rect image.Rectangle) bool {
if t := (rect.Min.Y - p.Y) * d.X; min <= t && t < max {
return true
}
// Test bottom side of rect
if t := (rmax.Y - p.Y) * d.X; min <= t && t < max {
return true