// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals real vec_plus_return_x=0. real vec_plus_return_y=0. real vec_plus_return_z=0. endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function vec_plus takes real this_x, real this_y, real this_z, real other_x, real other_y, real other_z returns real set vec_plus_return_x = this_x + other_x set vec_plus_return_y = this_y + other_y set vec_plus_return_z = this_z + other_z return vec_plus_return_x endfunction function init_test takes nothing returns nothing local real tuple_temp = vec_plus(1., 2., 3., 4., 5., 6.) local real tuple_temp_1 = vec_plus_return_y local real tuple_temp_2 = vec_plus_return_z local real v_x = tuple_temp local real v_y = tuple_temp_1 local real v_z = tuple_temp_2 if v_x == 5. and v_y == 7. and v_z == 9. then call testSuccess() endif endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction