real vec2_polarOffset_return_x277 real vec2_polarOffset_return_y729 real angle_toVec_return_x796 real angle_toVec_return_y139 real vec2_op_plus_return_x934 real vec2_op_plus_return_y207 function initGlobals153() { } function main178() { initGlobals153(); init_test104(); } function config745() { } function init_test104() { local real tuple_temp139 local real tuple_temp712 tuple_temp_139 = vec2_polarOffset304(1., 2., 1.5708, 10.); tuple_temp_712 = vec2_polarOffset_return_y_729; if ((((tuple_temp_139 >= 0.99) and (tuple_temp_139 <= 1.01)) and (tuple_temp_712 >= 11.99)) and (tuple_temp_712 <= 12.01)) { testSuccess166(); } else { }; } function angle_toVec214(real this_radians199, real len642) returns real { angle_toVec_return_x_796 = (Cos109(this_radians_199) * len_642); angle_toVec_return_y_139 = (Sin120(this_radians_199) * len_642); return angle_toVec_return_x_796; } IS_NATIVE IS_EXTERN @extern function Cos109(real x167) returns real { } IS_NATIVE IS_EXTERN @extern function Sin120(real x212) returns real { } function vec2_op_plus100(real this_x619, real this_y543, real v_x494, real v_y195) returns real { vec2_op_plus_return_x_934 = (this_x_619 + v_x_494); vec2_op_plus_return_y_207 = (this_y_543 + v_y_195); return vec2_op_plus_return_x_934; } function vec2_polarOffset304(real this_x884, real this_y183, real ang_radians764, real dist183) returns real { vec2_polarOffset_return_x_277 = vec2_op_plus100(this_x_884, this_y_183, angle_toVec214(ang_radians_764, dist_183), angle_toVec_return_y_139); vec2_polarOffset_return_y_729 = vec2_op_plus_return_y_207; return vec2_polarOffset_return_x_277; } IS_NATIVE function testSuccess166() { }