Arma 3 Scripting

Function in Geometry

BIS_fnc_getAngleDelta

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the smallest difference between two angles in degrees.

Syntax

[angleA, angleB] call BIS_fnc_getAngleDelta

Parameters:

Returns: Number - angle delta

Examples

Example 1

private _delta = [90,193] call BIS_fnc_getAngleDelta;//-103

See also

tan · cos · sin