BIS fnc getAngleDelta: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 9: Line 9:
| Returns the smallest difference between two angles in degrees.
| Returns the smallest difference between two angles in degrees.


| [angleA, angleB] call [[BIS_fnc_getAngleDelta]]
|s1=[angleA, angleB] call [[BIS_fnc_getAngleDelta]]


|p1= angleA: [[Number]] - First angle
|p1= angleA: [[Number]] - First angle

Revision as of 16:57, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Geometry

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

See also:
tancossin

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