// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals real vec_op_mult_return_x=0. real vec_op_mult_return_y=0. real vec_op_mult_return_z=0. endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function vec_op_mult takes real this_x, real this_y, real this_z, real r returns real set vec_op_mult_return_x = this_x * r set vec_op_mult_return_y = this_y * r set vec_op_mult_return_z = this_z * r return vec_op_mult_return_x endfunction function init_test takes nothing returns nothing local real tuple_temp = vec_op_mult(1., 2., 3., 2.) local real tuple_temp_1 = vec_op_mult_return_y local real tuple_temp_2 = vec_op_mult_return_z if tuple_temp == 2. and tuple_temp_1 == 4. and tuple_temp_2 == 6. then call testSuccess() endif endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction