BIS fnc slerp: Difference between revisions
Jump to navigation
Jump to search
m (infobox to template) |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.78 | |version1= 1.78 | ||
<! | <!--|exec= server|=--> | ||
<! | <!--|arg= local--> | ||
| | <!--|eff= local--> | ||
|descr= Spherical lerp, for correct lerping of normalized direction vectors | |||
|s1= [currentValue, targetValue, alpha] call [[BIS_fnc_slerp]] | |||
|p1= currentValue: [[Array]] - The current value | |||
| | |p2= targetValue: [[Array]] - The target value | ||
| | |p3= alpha: [[Number]] - The alpha | ||
| | |r1= [[Number]] - Interpolated value | ||
|x1= <code></code> | |x1= <code></code> | ||
|exec= call | | |exec= call | ||
|seealso= [[BIS_fnc_clerp]] [[BIS_fnc_lerp]] [[BIS_fnc_lerpVector]] [[BIS_fnc_inverseLerp]] | |||
}} | }} | ||
Revision as of 17:20, 9 January 2020
Description
- Description:
- Spherical lerp, for correct lerping of normalized direction vectors
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [currentValue, targetValue, alpha] call BIS_fnc_slerp
- Parameters:
- currentValue: Array - The current value
- targetValue: Array - The target value
- alpha: Number - The alpha
- Return Value:
- Number - Interpolated value
Examples
- Example 1:
Additional Information
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