You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if people have been implementing debug drawing through b2Draw but it looks like there is some deviation. For example, there is no PushTransform or PopTransform. It seems that in order to properly render the objects, one needs to apply the transforms.
Is this deliberate?
The text was updated successfully, but these errors were encountered:
This was deliberate. These do not need to be implemented if the vertices are transformed manually, like in the Box2D C++ Testbed. Alternatively, you can override these to use a matrix transformation or save/restore state in a canvas 2D context.
Not sure if people have been implementing debug drawing through
b2Draw
but it looks like there is some deviation. For example, there is noPushTransform
orPopTransform
. It seems that in order to properly render the objects, one needs to apply the transforms.Is this deliberate?
The text was updated successfully, but these errors were encountered: