Skip to content

Commit b427c2d

Browse files
committed
fmt
1 parent 0570c3d commit b427c2d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

v2/blob/line_cross.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ func (b *SimpleBlobie) IsCrossedTheLine(vertical, leftX, rightX int, direction b
9797
currFrame := trackLen - 1
9898
if b.Track[currFrame].X >= leftX && b.Track[currFrame].X <= rightX {
9999
if direction {
100-
101100
if b.Track[prevFrame].Y <= vertical && b.Track[currFrame].Y > vertical { // TO us
102101
b.crossedLine = true
103102
return true
@@ -198,7 +197,6 @@ func (b *KalmanBlobie) IsCrossedTheLine(vertical, leftX, rightX int, direction b
198197
currFrame := trackLen - 1
199198
if b.Track[currFrame].X >= leftX && b.Track[currFrame].X <= rightX {
200199
if direction {
201-
202200
if b.Track[prevFrame].Y <= vertical && b.Track[currFrame].Y > vertical { // TO us
203201
b.crossedLine = true
204202
return true

0 commit comments

Comments
 (0)