Open nomisum opened 8 years ago
_pond = createSimpleObject ["ca\structures_e\Misc\Misc_Water\zr_dam_03_ep1.p3d", [0,0,0.2]; ca 20x20m rect
vector 360 für waves
_output = [];
_dir_min = 180;
_dir_max = 360;
for "_i" from _dir_min to _dir_max do
{
switch(true)do
{
case (_i == 0):{_output pushBack [0,1,0];};
case (_i == 90):{_output pushBack [1,0,0];};
case (_i == 180):{_output pushBack [0,-1,0];};
case (_i == 270):{_output pushBack [-1,0,0];};
default:{_output pushBack [([(sin _i),2] call BIS_fnc_cutDecimals),([(cos _i),2] call BIS_fnc_cutDecimals),0];};
};
sleep 0.02;
};
_output