// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals real vec3_op_plus_return_x=0. real vec3_op_plus_return_y=0. real vec3_op_plus_return_z=0. endglobals native testSuccess takes nothing returns nothing function initGlobals takes nothing returns nothing endfunction function vec3_op_plus takes real this_x, real this_y, real this_z, real v_x, real v_y, real v_z returns real set vec3_op_plus_return_x = this_x + v_x set vec3_op_plus_return_y = this_y + v_y set vec3_op_plus_return_z = this_z + v_z return vec3_op_plus_return_x endfunction function init_test takes nothing returns nothing local real tuple_temp = 1. local real tuple_temp_1 = 1. local real tuple_temp_2 = 1. local real v1_x = tuple_temp local real v1_y = tuple_temp_1 local real v1_z = tuple_temp_2 local real tuple_temp_3 = 1. local real tuple_temp_4 = 1. local real tuple_temp_5 = 1. local real v2_x = tuple_temp_3 local real v2_y = tuple_temp_4 local real v2_z = tuple_temp_5 local real tuple_temp_6 = vec3_op_plus(v1_x, v1_y, v1_z, v2_x, v2_y, v2_z) local real tuple_temp_7 = vec3_op_plus_return_y local real tuple_temp_8 = vec3_op_plus_return_z set v1_x = tuple_temp_6 set v1_y = tuple_temp_7 set v1_z = tuple_temp_8 if v1_x == 2. then call testSuccess() endif endfunction function main takes nothing returns nothing call initGlobals() call init_test() endfunction function config takes nothing returns nothing endfunction