Class Project for Physical Simulation and Animation for Computer Graphics. Implementing 3D Rigid Bodies