Tutorial: http://gamedev.tutsplus.com/tutorials...
Impulse Engine is a small 2D physics engine written in C++ created by Randy Gaul. The engine is intended to be used in an educational manner by allowing others to learn the inner workings of physics engines. The source code of Impulse Engine is filled with comments and is written in as straight-forward a manner as possible.
More info:
http://www.randygaul.net/impulse-engine/
Source code:
https://github.com/RandyGaul/ImpulseE...