behdad / box2d

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

User manual typo in Chapter 2.2 #230

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In chapter 2.2 of http://box2d.org/manual.html , one line of code reads:

groundBody->CreateFixture(&groundBox);

But it actually should be (see HelloWorld.cpp):

groundBody->CreateFixture(&groundBox, 0.0f);

Original issue reported on code.google.com by MewE...@googlemail.com on 18 Aug 2011 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by erinca...@gmail.com on 28 Aug 2011 at 10:03