From Bohemia Interactive Community
					 
					
					
					
					
Hover & click on the images for description
 
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