behdad / box2d

Automatically exported from code.google.com/p/box2d
2 stars 12 forks source link

Error in user manual #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the user manual at http://www.box2d.org/manual.pdf for version 2.2.0 there 
is an error in the source code example for chain shapes (section 4.6).

When defining the vertices, the last line is missing the Set method call. It 
has:

vs[3].(-1.7f, 0.4f);

instead of

vs[3].Set(-1.7f, 0.4f);

Original issue reported on code.google.com by lparr...@gmail.com on 2 Sep 2011 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by erinca...@gmail.com on 17 Sep 2011 at 11:59