BIS fnc berpVector: Difference between revisions
Jump to navigation
Jump to search
Cat Harsis (talk | contribs) m (Updated optional tags) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 10: | Line 10: | ||
|s1= [a, b, delta] call [[BIS_fnc_berpVector]] | |s1= [a, b, delta] call [[BIS_fnc_berpVector]] | ||
|p1=a: [[Array]] - (Optional, default [0,0,0]) | |p1= a: [[Array]] - (Optional, default [0,0,0]) the current vector | ||
| | |p2= b: [[Array]] - (Optional, default [0,0,0]) - the target vector | ||
| | |p3= delta: [[Number]] - (Optional, default 0) The delta time in range 0..1 | ||
| | |r1= [[Array]] - the interpolated vector | ||
| | |||
|x1= <sqf>private _vector = [[1,2,3], [11,12,13], 0.1] call BIS_fnc_berpVector;</sqf> | |||
|seealso= [[BIS_fnc_berp]] | |||
}} |
Revision as of 12:12, 20 February 2023
Description
- Description:
- Wrapper for BIS_fnc_berp applying to each respective element of current and target vectors.
- Execution:
- call
- Groups:
- Interpolation
Syntax
- Syntax:
- [a, b, delta] call BIS_fnc_berpVector
- Parameters:
- a: Array - (Optional, default [0,0,0]) the current vector
- b: Array - (Optional, default [0,0,0]) - the target vector
- delta: Number - (Optional, default 0) The delta time in range 0..1
- Return Value:
- Array - the interpolated vector
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_berp
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note