Compute torus volume from major radius R (to tube center) and tube radius r using V = 2·π²·R·r².
输入主半径 R(到管中心)与管半径 r,求环体体积。