cocoaTouch/otherSrc/CGPointUtils.h
author nemo
Sun, 21 Feb 2010 16:28:46 +0000
changeset 2833 9c2accd92cc7
parent 2678 334016e8d895
child 3385 361bd29293f4
permissions -rw-r--r--
Check for empty hat, somehow claymore managed this, this should be a workaround pending figuring out how he did it.

/*
 *  CGPointUtils.h
 *  PinchMe
 *
 *  Created by Jeff LaMarche on 8/2/08.
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
 *
 */

#import <CoreGraphics/CoreGraphics.h>

CGFloat distanceBetweenPoints (CGPoint first, CGPoint second);
CGFloat angleBetweenPoints(CGPoint first, CGPoint second);
CGFloat angleBetweenLines(CGPoint line1Start, CGPoint line1End, CGPoint line2Start, CGPoint lin2End);