equal
deleted
inserted
replaced
19 #define HWYZ(x) (int)(screen.size.width-x) |
19 #define HWYZ(x) (int)(screen.size.width-x) |
20 |
20 |
21 CGFloat distanceBetweenPoints (CGPoint first, CGPoint second); |
21 CGFloat distanceBetweenPoints (CGPoint first, CGPoint second); |
22 CGFloat angleBetweenPoints(CGPoint first, CGPoint second); |
22 CGFloat angleBetweenPoints(CGPoint first, CGPoint second); |
23 CGFloat angleBetweenLines(CGPoint line1Start, CGPoint line1End, CGPoint line2Start, CGPoint line2End); |
23 CGFloat angleBetweenLines(CGPoint line1Start, CGPoint line1End, CGPoint line2Start, CGPoint line2End); |
|
24 |
|
25 CGFloat CGPointDot(CGPoint a, CGPoint b); |
|
26 CGFloat CGPointLen(CGPoint a); |
|
27 CGPoint CGPointSub(CGPoint a, CGPoint b); |
|
28 CGFloat CGPointDist(CGPoint a, CGPoint b); |
|
29 CGPoint CGPointNorm(CGPoint a); |