BIS fnc clerp: Difference between revisions
|  (Created page with "{{Function|= Comments  | arma3 |Game name=  |1.78|Game version=  <!---|arg= local |Multiplayer Arguments=--->  <!---|eff= local |Multiplayer Effects=--->  | <pre>/* 	Author:...") | m (infobox to template) | ||
| Line 26: | Line 26: | ||
| 	Returns: | 	Returns: | ||
| 	Float | 	Float | ||
| */</pre>{{ | */</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description= | ||
| |[] call [[BIS_fnc_clerp]]|Syntax= | |[] call [[BIS_fnc_clerp]]|Syntax= | ||
Revision as of 15:27, 2 April 2019
Description
- Description:
- /* Author: Nelson Duarte Description: CLerp - Circular Lerp - is like lerp but handles the wraparound from 0 to 360 This is useful when interpolating eulerAngles and the object crosses the 0/360 boundary The standard Lerp function causes the object to rotate in the wrong direction, clerp fixes that Parameters: _this: ARRAY 0: Float - The current value 1: Float - The target value 2: Float - The alpha Returns: Float */ Template:placeholder
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [] call BIS_fnc_clerp
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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
 
	