Merge pull request #845 from Kadermiyanyedi/fix-linezone-in-out-values

[LineZone] - flip in/out line crossing directions #838
This commit is contained in:
Onuralp SEZER 2024-02-02 20:59:36 +03:00 committed by GitHub
commit d423ff3b6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class LineZone:
continue
triggers = [
self.vector.cross_product(point=anchor) > 0 for anchor in box_anchors
self.vector.cross_product(point=anchor) < 0 for anchor in box_anchors
]
if len(set(triggers)) == 2: