diff --git a/SwiftDraw/Sources/LayerTree/LayerTree.Builder.Path.Arc.swift b/SwiftDraw/Sources/LayerTree/LayerTree.Builder.Path.Arc.swift index 0cf58c1..44a7028 100644 --- a/SwiftDraw/Sources/LayerTree/LayerTree.Builder.Path.Arc.swift +++ b/SwiftDraw/Sources/LayerTree/LayerTree.Builder.Path.Arc.swift @@ -159,7 +159,7 @@ func makeCubic(from origin: LayerTree.Point, to destination: LayerTree.Point, ry1 *= lambdaSquareRoot } - let cc = getArcCenter(from: origin, to: destination, fa: large, fs: sweep, rx: rx, ry: ry, sin_phi: sin_phi, cos_phi: cos_phi) + let cc = getArcCenter(from: origin, to: destination, fa: large, fs: sweep, rx: rx1, ry: ry1, sin_phi: sin_phi, cos_phi: cos_phi) var result = [[LayerTree.Float]]()