8 return NSMakePoint(a.x + b.x, a.y + b.y);
13 return NSMakePoint(a.x - b.x, a.y - b.y);
18 return NSMakePoint(p.x * scale, p.y * scale);
23 return a.x * b.x + a.y * b.y;
28 return a.x * b.y - b.x * a.y;
34 return NSMakePoint(p.y, -p.x);
40 return NSMakePoint(-p.y, p.x);
OOINLINE CGFloat PtDot(NSPoint a, NSPoint b)
OOINLINE NSPoint PtScale(NSPoint p, CGFloat scale)
OOINLINE NSPoint PtSub(NSPoint a, NSPoint b)
OOINLINE NSPoint PtRotACW(NSPoint p)
OOINLINE NSPoint PtNormal(NSPoint p)
OOINLINE CGFloat PtCross(NSPoint a, NSPoint b)
OOINLINE NSPoint PtRotCW(NSPoint p)
OOINLINE NSPoint PtAdd(NSPoint a, NSPoint b)