Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] cpPolyShapeGetCount typo in docs #220

Open
mcclure opened this issue Mar 2, 2022 · 0 comments
Open

[Documentation] cpPolyShapeGetCount typo in docs #220

mcclure opened this issue Mar 2, 2022 · 0 comments

Comments

@mcclure
Copy link

mcclure commented Mar 2, 2022

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant