in reply to Re^2: Perl and Quaternionsin thread Perl and Quaternions
In any case, for 2D rotations, quaternions are overkill. You can just use complex numbers.