--- a/cocoaTouch/otherSrc/CGPointUtils.h Sat May 01 05:15:16 2010 +0000
+++ b/cocoaTouch/otherSrc/CGPointUtils.h Sat May 01 12:53:55 2010 +0000
@@ -9,6 +9,9 @@
#import <CoreGraphics/CoreGraphics.h>
+#define degreesToRadian(x) (M_PI * x / 180.0)
+#define radiansToDegrees(x) (180.0 * x / M_PI)
+
CGFloat distanceBetweenPoints (CGPoint first, CGPoint second);
CGFloat angleBetweenPoints(CGPoint first, CGPoint second);
CGFloat angleBetweenLines(CGPoint line1Start, CGPoint line1End, CGPoint line2Start, CGPoint lin2End);