This commit is contained in:
Mayank Mohapatra 2025-02-22 13:39:54 +00:00
parent a8526432df
commit 17cca5ee89
5 changed files with 165 additions and 165 deletions

View file

@ -112,7 +112,7 @@ path = trimPathPoints(path, edge.Dst.Box)
if len(path) >= 2 {
dstPoint := path[len(path)-1]
// Calculate the tangent direction at the destination point (counter-clockwise)
tangentX := -dstPoint.Y
tangentX := dstPoint.Y
tangentY := dstPoint.X
// Normalize the tangent vector
length := math.Hypot(tangentX, tangentY)

View file

@ -864,7 +864,7 @@
"y": -37.47600173950195
},
{
"x": 195.6020050048828,
"x": 198.90199279785156,
"y": -42.86199951171875
},
{
@ -1228,7 +1228,7 @@
"y": 197.53700256347656
},
{
"x": 36.4109992980957,
"x": 16.58799934387207,
"y": 196.90499877929688
},
{
@ -1592,7 +1592,7 @@
"y": 37.47600173950195
},
{
"x": -195.6020050048828,
"x": -198.90199279785156,
"y": 42.86199951171875
},
{
@ -1972,7 +1972,7 @@
"y": 111.8030014038086
},
{
"x": 704.7830200195312,
"x": 698.0830078125,
"y": 107.5770034790039
},
{
@ -2336,7 +2336,7 @@
"y": 186.90899658203125
},
{
"x": 370.2919921875,
"x": 356.99200439453125,
"y": 190.46800231933594
},
{
@ -2740,7 +2740,7 @@
"y": 196.45700073242188
},
{
"x": 1008.4110107421875,
"x": 988.5880126953125,
"y": 196.89300537109375
},
{

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -864,7 +864,7 @@
"y": -25.47599983215332
},
{
"x": 207.6020050048828,
"x": 210.90199279785156,
"y": -30.86199951171875
},
{
@ -1228,7 +1228,7 @@
"y": 209.53700256347656
},
{
"x": 48.4109992980957,
"x": 28.58799934387207,
"y": 208.90499877929688
},
{
@ -1592,7 +1592,7 @@
"y": 49.47600173950195
},
{
"x": -183.6020050048828,
"x": -186.90199279785156,
"y": 54.86199951171875
},
{
@ -1972,7 +1972,7 @@
"y": 123.8030014038086
},
{
"x": 677.2830200195312,
"x": 670.5830078125,
"y": 119.5770034790039
},
{
@ -2336,7 +2336,7 @@
"y": 198.90899658203125
},
{
"x": 342.7919921875,
"x": 329.49200439453125,
"y": 202.46800231933594
},
{
@ -2740,7 +2740,7 @@
"y": 208.45700073242188
},
{
"x": 941.3209838867188,
"x": 921.4979858398438,
"y": 208.89300537109375
},
{

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB