Default rotation parameters use the midpoint as the rotation origin. A few stray particles stretching the bounding box can cause the midpoint to become far from the interesting (and intuitive) point of rotation.
This PR adds support for rotation around the centre of mass. For now, the rotation origin is still the midpoint, but a DeprecationWarning is added that the default rotation origin will become [0, 0, 0] in a future version.
Default rotation parameters use the midpoint as the rotation origin. A few stray particles stretching the bounding box can cause the midpoint to become far from the interesting (and intuitive) point of rotation.
This PR adds support for rotation around the centre of mass. For now, the rotation origin is still the midpoint, but a DeprecationWarning is added that the default rotation origin will become [0, 0, 0] in a future version.
Closes #60.