Open mcclure opened 2 years ago
The docs list a function
int cpPolyShapeGetNumVerts(cpShape *shape) ... Getters for poly shape properties. Passing a non-poly shape or an index that does not exist will throw an assertion.
int cpPolyShapeGetNumVerts(cpShape *shape) ...
Getters for poly shape properties. Passing a non-poly shape or an index that does not exist will throw an assertion.
However, the function in cpPolyShape.h:
/// Get the number of verts in a polygon shape. CP_EXPORT int cpPolyShapeGetCount(const cpShape *shape);
The name is wrong in the docs.
The docs list a function
However, the function in cpPolyShape.h:
The name is wrong in the docs.