|
cocos2d-iphone
2.0
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import "ccTypes.h"Functions | |
| void | ccVertexLineToPolygon (CGPoint *points, float stroke, ccVertex2F *vertices, NSUInteger offset, NSUInteger nuPoints) |
| BOOL | ccVertexLineIntersect (float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Dx, float Dy, float *T) |
| BOOL ccVertexLineIntersect | ( | float | Ax, |
| float | Ay, | ||
| float | Bx, | ||
| float | By, | ||
| float | Cx, | ||
| float | Cy, | ||
| float | Dx, | ||
| float | Dy, | ||
| float * | T | ||
| ) |
returns wheter or not the line intersects
| void ccVertexLineToPolygon | ( | CGPoint * | points, |
| float | stroke, | ||
| ccVertex2F * | vertices, | ||
| NSUInteger | offset, | ||
| NSUInteger | nuPoints | ||
| ) |
converts a line to a polygon