real vec2_polarOffset_return_x118 real vec2_polarOffset_return_y402 real angle_toVec_return_x199 real angle_toVec_return_y161 real vec2_op_plus_return_x184 real vec2_op_plus_return_y622 function initGlobals212() { } function main737() { initGlobals212(); init_test283(); } function config178() { } function init_test283() { local real v_x139 local real v_y170 local real tuple_temp158 local real tuple_temp571 local real tuple_temp130 local real tuple_temp135 tuple_temp_158 = 1.; tuple_temp_571 = 2.; v_x_139 = tuple_temp_158; v_y_170 = tuple_temp_571; tuple_temp_130 = vec2_polarOffset874(v_x_139, v_y_170, 1.5708, 10.); tuple_temp_135 = vec2_polarOffset_return_y_402; v_x_139 = tuple_temp_130; v_y_170 = tuple_temp_135; if ((((v_x_139 >= 0.99) and (v_x_139 <= 1.01)) and (v_y_170 >= 11.99)) and (v_y_170 <= 12.01)) { testSuccess114(); } else { }; } function angle_toVec189(real this_radians154, real len574) returns real { angle_toVec_return_x_199 = (Cos141(this_radians_154) * len_574); angle_toVec_return_y_161 = (Sin131(this_radians_154) * len_574); return angle_toVec_return_x_199; } IS_NATIVE IS_EXTERN @extern function Cos141(real x129) returns real { } IS_NATIVE IS_EXTERN @extern function Sin131(real x198) returns real { } function vec2_op_plus205(real this_x179, real this_y210, real v_x145, real v_y726) returns real { vec2_op_plus_return_x_184 = (this_x_179 + v_x_145); vec2_op_plus_return_y_622 = (this_y_210 + v_y_726); return vec2_op_plus_return_x_184; } function vec2_polarOffset874(real this_x119, real this_y870, real ang_radians453, real dist130) returns real { vec2_polarOffset_return_x_118 = vec2_op_plus205(this_x_119, this_y_870, angle_toVec189(ang_radians_453, dist_130), angle_toVec_return_y_161); vec2_polarOffset_return_y_402 = vec2_op_plus_return_y_622; return vec2_polarOffset_return_x_118; } IS_NATIVE function testSuccess114() { }