// this script was compiled with wurst 1.8.1.0-jenkins-Wurst-1365 globals real array test_vs_x real array test_vs_y real array test_vs_z endglobals function initGlobals takes nothing returns nothing endfunction function main takes nothing returns nothing local real this_x local real this_y local real this_z local real value local real result_x local real result_y local real result_z local real tuple_temp local real tuple_temp_1 local real tuple_temp_2 local real tuple_temp_3 local real tuple_temp_4 local real tuple_temp_5 local real tuple_temp_6 local real tuple_temp_7 local real tuple_temp_8 call initGlobals() set tuple_temp = 3. set tuple_temp_1 = 15. set tuple_temp_2 = 4. set test_vs_x[0] = tuple_temp set test_vs_y[0] = tuple_temp_1 set test_vs_z[0] = tuple_temp_2 if 3 > 2 then set tuple_temp_3 = test_vs_x[0] set tuple_temp_4 = test_vs_y[0] set tuple_temp_5 = test_vs_z[0] set this_x = tuple_temp_3 set this_y = tuple_temp_4 set this_z = tuple_temp_5 set value = 5. set tuple_temp_6 = this_x set tuple_temp_7 = this_y set tuple_temp_8 = this_z set result_x = tuple_temp_6 set result_y = tuple_temp_7 set result_z = tuple_temp_8 if result_x > ( - value) and result_x < value then set result_x = 0. endif if result_y > ( - value) and result_y < value then set result_y = 0. endif if result_z > ( - value) and result_z < value then set result_z = 0. endif endif endfunction function config takes nothing returns nothing endfunction