We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6841495 commit 72138e3Copy full SHA for 72138e3
SwiftDraw/LayerTree.Path.swift
@@ -132,7 +132,7 @@ extension LayerTree.Path.Segment {
132
}
133
134
135
-extension BidirectionalCollection where Element == LayerTree.Path.Segment, Index == Int {
+extension Sequence where Element == LayerTree.Path.Segment {
136
137
// Determine direction by sign of calculated area
138
// https://www.101computing.net/the-shoelace-algorithm/
0 commit comments