/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
CGFloat DegreesToRadians(CGFloat degrees) { return degrees * M_PI / 180; }; CGFloat RadiansToDegrees(CGFloat radians) { return radians * 180 / M_PI; };