BIS fnc getAngleDelta: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 7/7) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Returns the smallest difference between two angles in degrees.|= Description | ||
____________________________________________________________________________________________ | |||
| [angleA, angleB] call [[BIS_fnc_getAngleDelta]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= angleA: [[Number]] - First angle|= Parameter 1 | |||
|p2= angleB: [[Number]] - Second angle|= Parameter 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Number]] - Angle delta|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_delta = [90,193] [[call]] [[BIS_fnc_getAngleDelta]];//-103</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[tan]], [[cos]], [[sin]] |= See also | ||
}} | }} | ||
Revision as of 10:57, 31 May 2018
Description
- Description:
- Returns the smallest difference between two angles in degrees.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [angleA, angleB] call BIS_fnc_getAngleDelta
- Parameters:
- angleA: Number - First angle
- angleB: Number - Second angle
- Return Value:
- Number - Angle delta
Examples
- Example 1:
_delta = [90,193] call BIS_fnc_getAngleDelta;//-103
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