This commit is contained in:
Mayank Mohapatra 2025-02-23 17:04:06 +00:00
parent 2fc8183c15
commit 8580d629fc

View file

@ -117,7 +117,7 @@ func createCircularArc(edge *d2graph.Edge) {
tangentX /= mag tangentX /= mag
tangentY /= mag tangentY /= mag
} }
const MIN_SEGMENT_LEN = 3.9999999999 const MIN_SEGMENT_LEN = 4.0
dx := lastPoint.X - secondLastPoint.X dx := lastPoint.X - secondLastPoint.X
dy := lastPoint.Y - secondLastPoint.Y dy := lastPoint.Y - secondLastPoint.Y