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
Box2D.customizeVTable(debugDraw, [{
original: Box2D.b2Draw.prototype.DrawSegment,
replacement:
function(ths, vert1, vert2, color) {
alert('called');
}
}]);
In the above code I'm not knowing how the parameters "ths" is a pointer .I want to know to what "ths" parameter is pointing to.
The text was updated successfully, but these errors were encountered:
The customizeVTable stuff is tricky and deprecated. We should update box2d
to use the new webidl bindings approach (bullet has been updated), which
would avoid this problem.
Box2D.customizeVTable(debugDraw, [{
original: Box2D.b2Draw.prototype.DrawSegment,
replacement:
function(ths, vert1, vert2, color) {
alert('called');
}
}]);
In the above code I'm not knowing how the parameters "ths" is a pointer .I
want to know to what "ths" parameter is pointing to.
—
Reply to this email directly or view it on GitHub #51.
Box2D.customizeVTable(debugDraw, [{
original: Box2D.b2Draw.prototype.DrawSegment,
replacement:
function(ths, vert1, vert2, color) {
alert('called');
}
}]);
In the above code I'm not knowing how the parameters "ths" is a pointer .I want to know to what "ths" parameter is pointing to.
The text was updated successfully, but these errors were encountered: