diff -r ccf4854df294 -r 02875b1145b7 project_files/HedgewarsMobile/Classes/CGPointUtils.h --- a/project_files/HedgewarsMobile/Classes/CGPointUtils.h Wed Jun 23 21:49:19 2010 +0200 +++ b/project_files/HedgewarsMobile/Classes/CGPointUtils.h Wed Jun 23 22:03:56 2010 +0200 @@ -0,0 +1,17 @@ +/* + * CGPointUtils.h + * PinchMe + * + * Created by Jeff LaMarche on 8/2/08. + * Copyright 2008 __MyCompanyName__. All rights reserved. + * + */ + +#import + +#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);