Rotation in three dimensions