// 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 if this_x > 0. then 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 else 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 endif endfunction function init_test takes nothing returns nothing local real temp_tuple_y local real tuple_temp call vec_plus(1., 2., 3., 4., 5., 6.) set tuple_temp = vec_plus_return_y set temp_tuple_y = tuple_temp if temp_tuple_y == 7. then call testSuccess() endif endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction