BIS_fnc_isEqualVector

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Checks whether two vectors are equal with given tolerance.
Execution:
call
Groups:
Vectors

Syntax

Syntax:
[vector1, vector2, tolerance] call BIS_fnc_isEqualVector
Parameters:
vector1: Array - vector 1
vector2: Array - vector 2
tolerance: Number - the tolerance
Return Value:
Boolean - returns true if in tolerance, otherwise false

Examples

Example 1:
[[1,1,1], [2,2,2], 1] call BIS_fnc_isEqualVector; // returns true

Additional Information

See also:
isEqualTo isEqualTypeAny

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