cocoaTouch/otherSrc/CGPointUtils.h
author koda
Thu, 07 Jan 2010 05:23:23 +0000
changeset 2678 334016e8d895
child 3385 361bd29293f4
permissions -rw-r--r--
injection of custom code in SDL for iPhone in order to implement our frontend initial support for (real) multitouch events

/*
 *  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);