// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1366 globals real vec3_op_plus_return_x=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 return vec3_op_plus_return_x endfunction function init_test takes nothing returns nothing if vec3_op_plus(1., 1., 1., 1., 1., 1.) == 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