Angular momentum about the centre of mass (source code)

= Angular momentum about the centre of mass

The derivative of angular momentum about the moving centre of mass equals the total external torque about that centre, because total relative momentum vanishes and internal central torques cancel.