real vec3_moveTowards_return_x846 real vec3_moveTowards_return_y748 real vec3_moveTowards_return_z696 real vec3_normalizedPointerTo_return_x565 real vec3_normalizedPointerTo_return_y193 real vec3_normalizedPointerTo_return_z131 integer wurst_stack_depth107 = 0 function initGlobals947() { } function main179() { initGlobals947(); init_test198(); } function config970() { } function init_test198() { local boolean andLeft429 local real tuple_temp138 local real tuple_temp164 local real tuple_temp145 local real tuple_temp153 local real tuple_temp928 local real tuple_temp172 tuple_temp_138 = vec3_moveTowards103(0., 0., 0., 1., 2., 3., 10.); tuple_temp_164 = vec3_moveTowards_return_y_748; tuple_temp_145 = vec3_moveTowards_return_z_696; tuple_temp_153 = vec3_moveTowards103(0., 0., 0., 6., 5., 4., 10.); tuple_temp_928 = vec3_moveTowards_return_y_748; tuple_temp_172 = vec3_moveTowards_return_z_696; if (((((((tuple_temp_138 - 0.01) < 2.673) and (2.673 < (tuple_temp_138 + 0.01))) and ((tuple_temp_164 - 0.01) < 5.345)) and (5.345 < (tuple_temp_164 + 0.01))) and ((tuple_temp_145 - 0.01) < 8.018)) and (8.018 < (tuple_temp_145 + 0.01))) { andLeft_429 = (((((((tuple_temp_153 - 0.01) < 6.838) and (6.838 < (tuple_temp_153 + 0.01))) and ((tuple_temp_928 - 0.01) < 5.698)) and (5.698 < (tuple_temp_928 + 0.01))) and ((tuple_temp_172 - 0.01) < 4.558)) and (4.558 < (tuple_temp_172 + 0.01))); } else { andLeft_429 = false; }; if andLeft_429 { testSuccess161(); } else { }; } IS_NATIVE IS_EXTERN @extern function SquareRoot412(real x207) returns real { } function vec3_normalizedPointerTo208(real this_x783, real this_y862, real this_z199, real target_x644, real target_y111, real target_z156) returns real { this_x_783 = (target_x_644 - this_x_783); this_y_862 = (target_y_111 - this_y_862); this_z_199 = (target_z_156 - this_z_199); target_x_644 = SquareRoot412((((this_x_783 * this_x_783) + (this_y_862 * this_y_862)) + (this_z_199 * this_z_199))); if (target_x_644 > 0.) { target_x_644 = (1. / target_x_644); this_x_783 = (this_x_783 * target_x_644); this_y_862 = (this_y_862 * target_x_644); this_z_199 = (this_z_199 * target_x_644); } else { this_x_783 = 1.; this_y_862 = 0.; this_z_199 = 0.; }; vec3_normalizedPointerTo_return_x_565 = this_x_783; vec3_normalizedPointerTo_return_y_193 = this_y_862; vec3_normalizedPointerTo_return_z_131 = this_z_199; return vec3_normalizedPointerTo_return_x_565; } function vec3_moveTowards103(real this_x708, real this_y115, real this_z171, real target_x101, real target_y121, real target_z108, real dist357) returns real { target_y_121 = vec3_normalizedPointerTo208(this_x_708, this_y_115, this_z_171, target_x_101, target_y_121, target_z_108); target_z_108 = vec3_normalizedPointerTo_return_y_193; target_x_101 = vec3_normalizedPointerTo_return_z_131; target_y_121 = (target_y_121 * dist_357); target_z_108 = (target_z_108 * dist_357); target_x_101 = (target_x_101 * dist_357); vec3_moveTowards_return_x_846 = (this_x_708 + target_y_121); vec3_moveTowards_return_y_748 = (this_y_115 + target_z_108); vec3_moveTowards_return_z_696 = (this_z_171 + target_x_101); return vec3_moveTowards_return_x_846; } IS_NATIVE function testSuccess161() { }