Extraneous code in Sprite Binding Demo?

Hi all,

Pleased to using the much-lauded Box2d at last 😀 . I'm using JBox2d 2.0, specifically.

I was having a look at the demos (which I presume are universal across all languages the library supports) and noticed in the Sprite Binding demo that there is a line which, when commented out, seems to have little or (to my eye) no effect.

Line 76, SpriteBinding.java:
Code:
boxes[i + numBoxes*j].setXForm(boxes[i+numBoxes*j].getMemberPosition(), angle);


What does this actually do? Or is it just old cruft from a prior version of the lib?

Thanks!

www.handcraftedgames.net

Original thread: https://box2d.org/forum/viewtopic.php?t=5050