real vec2_polarOffset_return_x205 real vec2_polarOffset_return_y614 real angle_toVec_return_x211 real angle_toVec_return_y209 real vec2_op_plus_return_x208 real vec2_op_plus_return_y228 function initGlobals406() { } function main201() { initGlobals406(); init_test323(); } function config680() { } function init_test323() { local real v_x866 local real v_y123 local real tuple_temp150 local real tuple_temp861 local real tuple_temp682 local real tuple_temp182 tuple_temp_150 = 1.; tuple_temp_861 = 2.; v_x_866 = tuple_temp_150; v_y_123 = tuple_temp_861; tuple_temp_682 = vec2_polarOffset874(v_x_866, v_y_123, 1.5708, 10.); tuple_temp_182 = vec2_polarOffset_return_y_614; v_x_866 = tuple_temp_682; v_y_123 = tuple_temp_182; if ((((v_x_866 >= 0.99) and (v_x_866 <= 1.01)) and (v_y_123 >= 11.99)) and (v_y_123 <= 12.01)) { testSuccess442(); } else { }; } function angle_toVec209(real this_radians210, real len286) returns real { angle_toVec_return_x_211 = (Cos102(this_radians_210) * len_286); angle_toVec_return_y_209 = (Sin624(this_radians_210) * len_286); return angle_toVec_return_x_211; } IS_NATIVE IS_EXTERN @extern function Cos102(real x262) returns real { } IS_NATIVE IS_EXTERN @extern function Sin624(real x933) returns real { } function vec2_op_plus936(real this_x192, real this_y214, real v_x433, real v_y228) returns real { vec2_op_plus_return_x_208 = (this_x_192 + v_x_433); vec2_op_plus_return_y_228 = (this_y_214 + v_y_228); return vec2_op_plus_return_x_208; } function vec2_polarOffset874(real this_x682, real this_y126, real ang_radians130, real dist128) returns real { vec2_polarOffset_return_x_205 = vec2_op_plus936(this_x_682, this_y_126, angle_toVec209(ang_radians_130, dist_128), angle_toVec_return_y_209); vec2_polarOffset_return_y_614 = vec2_op_plus_return_y_228; return vec2_polarOffset_return_x_205; } IS_NATIVE function testSuccess442() { }