summaryrefslogtreecommitdiff
path: root/editor/icons/Issue.svg
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-08-25 13:34:32 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-08-25 18:17:52 -0700
commit511c80b2ec3c8d8eb8a71ddfab56b2c071b956d0 (patch)
treef5e82f280335152c9f2411cf2b91d4a704f4e9af /editor/icons/Issue.svg
parent353bb45e21fadf8da1f6fbbaaf99b8ac8acafea9 (diff)
Fix segment intersection consistency in Geometry2D
Segment collision results could be different depending on the direction when they exactly touch (order of the points in segments). This was due to the way parallelism was checked, using different logic based on positive or negative sign of cross products. Now the results are the same whatever the direction, without changing the current design, which is that parallel or colinear segments are not considered colinear. Fixes inconsistencies with raycasts exactly on edges of convex shapes depending on the direction.
Diffstat (limited to 'editor/icons/Issue.svg')
0 files changed, 0 insertions, 0 deletions