FF SUITEArma 3 addons

Spectator · Input and controls

normalizeDirectionDiff

FF_spectator_fnc_normalizeDirectionDiff

internalPREP18 lines

Description

Normalizes a heading difference across the 360-degree boundary.

Arguments
0: Target heading <NUMBER>, 1: Current heading <NUMBER>
Returns
Difference <NUMBER>

Example

_this call FF_spectator_fnc_normalizeDirectionDiff

Source

File
x\FF\addons\spectator\fnc_normalizeDirectionDiff.sqf
Lines
18
Registration
PREP
Exposure
internal