real vec3_moveTowards_return_x100 real vec3_moveTowards_return_y120 real vec3_moveTowards_return_z347 real vec3_normalizedPointerTo_return_x132 real vec3_normalizedPointerTo_return_y144 real vec3_normalizedPointerTo_return_z181 function initGlobals169() { } function main429() { initGlobals169(); init_test341(); } function config152() { } function init_test341() { local boolean andLeft206 local real tuple_temp131 local real tuple_temp117 local real tuple_temp151 local real tuple_temp123 local real tuple_temp938 local real tuple_temp636 tuple_temp_131 = vec3_moveTowards211(0., 0., 0., 1., 2., 3., 10.); tuple_temp_117 = vec3_moveTowards_return_y_120; tuple_temp_151 = vec3_moveTowards_return_z_347; tuple_temp_123 = vec3_moveTowards211(0., 0., 0., 6., 5., 4., 10.); tuple_temp_938 = vec3_moveTowards_return_y_120; tuple_temp_636 = vec3_moveTowards_return_z_347; if (((((((tuple_temp_131 - 0.01) < 2.673) and (2.673 < (tuple_temp_131 + 0.01))) and ((tuple_temp_117 - 0.01) < 5.345)) and (5.345 < (tuple_temp_117 + 0.01))) and ((tuple_temp_151 - 0.01) < 8.018)) and (8.018 < (tuple_temp_151 + 0.01))) { andLeft_206 = (((((((tuple_temp_123 - 0.01) < 6.838) and (6.838 < (tuple_temp_123 + 0.01))) and ((tuple_temp_938 - 0.01) < 5.698)) and (5.698 < (tuple_temp_938 + 0.01))) and ((tuple_temp_636 - 0.01) < 4.558)) and (4.558 < (tuple_temp_636 + 0.01))); } else { andLeft_206 = false; }; if andLeft_206 { testSuccess113(); } else { }; } IS_NATIVE IS_EXTERN @extern function SquareRoot789(real x125) returns real { } function vec3_normalizedPointerTo686(real this_x200, real this_y122, real this_z342, real target_x203, real target_y785, real target_z178) returns real { this_x_200 = (target_x_203 - this_x_200); this_y_122 = (target_y_785 - this_y_122); this_z_342 = (target_z_178 - this_z_342); target_x_203 = SquareRoot789((((this_x_200 * this_x_200) + (this_y_122 * this_y_122)) + (this_z_342 * this_z_342))); if (target_x_203 > 0.) { target_x_203 = (1. / target_x_203); this_x_200 = (this_x_200 * target_x_203); this_y_122 = (this_y_122 * target_x_203); this_z_342 = (this_z_342 * target_x_203); } else { this_x_200 = 1.; this_y_122 = 0.; this_z_342 = 0.; }; vec3_normalizedPointerTo_return_x_132 = this_x_200; vec3_normalizedPointerTo_return_y_144 = this_y_122; vec3_normalizedPointerTo_return_z_181 = this_z_342; return vec3_normalizedPointerTo_return_x_132; } function vec3_moveTowards211(real this_x145, real this_y945, real this_z180, real target_x211, real target_y637, real target_z834, real dist176) returns real { target_y_637 = vec3_normalizedPointerTo686(this_x_145, this_y_945, this_z_180, target_x_211, target_y_637, target_z_834); target_z_834 = vec3_normalizedPointerTo_return_y_144; target_x_211 = vec3_normalizedPointerTo_return_z_181; target_y_637 = (target_y_637 * dist_176); target_z_834 = (target_z_834 * dist_176); target_x_211 = (target_x_211 * dist_176); vec3_moveTowards_return_x_100 = (this_x_145 + target_y_637); vec3_moveTowards_return_y_120 = (this_y_945 + target_z_834); vec3_moveTowards_return_z_347 = (this_z_180 + target_x_211); return vec3_moveTowards_return_x_100; } IS_NATIVE function testSuccess113() { }