Utils to convert degrees to radians
// MARK: Frameworks | |
import UIKit | |
// MARK: Helper Methods | |
func radians(from degrees: CGFloat) -> CGFloat { | |
return ((degrees * .pi) / 180) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment