BIS fnc isEqualVector: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
Line 14: | Line 14: | ||
|p2= vector2: [[Array]] - vector 2 | |p2= vector2: [[Array]] - vector 2 | ||
|p3= tolerance: [[Number]] - | |p3= tolerance: [[Number]] - the tolerance | ||
|r1= [[Boolean]] - returns [[true]] if in tolerance, otherwise [[false]] | |r1= [[Boolean]] - returns [[true]] if in tolerance, otherwise [[false]] |
Latest revision as of 15:51, 8 November 2023
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:
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