Skip to content

Commit

Permalink
docs: fix simple typo, straigt -> straight
Browse files Browse the repository at this point in the history
There is a small typo in include/chipmunk/cpPolyline.h, objectivec/include/ObjectiveChipmunk/ChipmunkAutoGeometry.h.

Should read `straight` rather than `straigt`.
  • Loading branch information
timgates42 committed Nov 27, 2020
1 parent 1d01b2a commit 6899bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/chipmunk/cpPolyline.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CP_EXPORT cpPolyline *cpPolylineSimplifyCurves(cpPolyline *line, cpFloat tol);

/**
Returns a copy of a polyline simplified by discarding "flat" vertexes.
This works well on straigt edged or angular shapes, not as well on smooth shapes.
This works well on straight edged or angular shapes, not as well on smooth shapes.
*/
CP_EXPORT cpPolyline *cpPolylineSimplifyVertexes(cpPolyline *line, cpFloat tol);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

/**
Returns a copy of a polyline simplified by discarding "flat" vertexes.
This works well on straigt edged or angular shapes, not as well on smooth shapes.
This works well on straight edged or angular shapes, not as well on smooth shapes.
*/
-(ChipmunkPolyline *)simplifyVertexes:(cpFloat)tolerance;

Expand Down

0 comments on commit 6899bc3

Please sign in to comment.