A game physics engine written in C++