xs_vec_nearlyequal

Syntax

stock bool:xs_vec_nearlyequal(const Float:vec1[], const Float:vec2[])

Usage

vec1
The first input vector to check.
vec2
The second input vector to check.

Description

Checks if two vectors are nearly equal.

Note

If you need to check if two vectors are exactly equal,
take a look at xs_vec_equal().

Return

1 if vectors are equal, 0 otherwise.