dominic
dominic
when run under browser, it should be a demo. when run on command line, it should be a benchmark. requires some sort of conditional compilation, or at least the sharing...
Using http://api.dartlang.org/json/JSON.html we should be able to write out a world to json and read it back in without constructing it body by body. This can open the door to...
The latest Box2D (and JBox2D) have a greater range of joint types. We should port the extra types to Dart. These include: FrictionJoint GearJoint MouseJoint PrismaticJoint PulleyJoint WeldJoint WheelJoint RopeJoint...
Per original author's TODO, QueryCallback should not be an interface but a typedef. This also applies to TreeCallback.
ContactSolver.solveVelocityConstraints() is consistently top of the list when benchmarks are performance analyzed. Unsurprisingly it's also huge and suffers multiple deopt-opt hits for both dart and JS VMs.
Currently, benchmarks exercise behaviour but do not check whether the calculations are correct (consistent with previous runs). Ideally, the benchmarks might be switched to unit tests but a start would...
Found in http://code.google.com/p/dart/issues/detail?id=4075#c6 Affects performance.
Fixes #1460 #1462 Let's see what the buildbots make of this.