Are you doing arbitrary rotations or just on the XY, XZ or YZ plane?