forked from https://code.google.com/p/box2dx/source/checkout