{"name":"BIS_fnc_berpVector","title":"BIS fnc berpVector","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_berpVector","revid":348150,"updated":"2023-11-08T11:32:41Z","groups":["Interpolation"],"status":"ok","games":{"arma3":"1.78"},"since":"arma3 1.78","arma3_since":"1.78","description":"Wrapper for BIS_fnc_berp applying to each respective element of current and target vectors.","syntaxes":[{"syntax":"[a, b, delta] call BIS_fnc_berpVector","params":[{"name":"a","type":"Array format Vector3D","optional":true,"default":"[0,0,0]","description":"the current vector","type_expr":"Vector3D","types":["Array","Vector3D"],"text":"a: Array format Vector3D - (Optional, default [0,0,0]) the current vector"},{"name":"b","type":"Array format Vector3D","optional":true,"default":"[0,0,0]","description":"the target vector","type_expr":"Vector3D","types":["Array","Vector3D"],"text":"b: Array format Vector3D - (Optional, default [0,0,0]) the target vector"},{"name":"delta","type":"Number","optional":true,"default":"0","description":"the delta time in range 0..1","type_expr":"Number","text":"delta: Number - (Optional, default 0) the delta time in range 0..1"}],"returns":{"type":"Array","type_expr":"Array","description":"the interpolated vector"}}],"examples":[{"code":["private _vector = [[1,2,3], [11,12,13], 0.1] call BIS_fnc_berpVector;"]}],"see_also":["BIS_fnc_berp"]}