Elastic collision (source code)

= Elastic collision
{wiki}

An elastic collision conserves total momentum and total kinetic energy.