cf_hull¶
Category: collision
GitHub: cute_math.h
Computes 2D convex hull.
Parameters | Description |
---|---|
verts | The vertices of the shape. |
count | The number of vertices in verts . |
skin_factor | The amount to inflate the shape by. |
Return Value¶
Returns the number of vertices written to the verts
array.
Remarks¶
Will not do anything if less than two verts supplied. If more than CF_POLY_MAX_VERTS are supplied extras are ignored.