Created
May 2, 2020 12:15
-
-
Save akshitzaveri/5a5ce3123427cb0788812d435065f3c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 2 | |
let initialPoint = self.getPoint(for: -90) | |
path.move(to: initialPoint) | |
// 3 | |
for angle in -89...0 { path.addLine(to: self.getPoint(for: angle)) } | |
for angle in 1...270 { path.addLine(to: self.getPoint(for: angle)) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment