stock

xs_vec_equal

Syntax

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

Description

Checks if two vectors are equal.

Parameters

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

Note

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

Return

1 if vectors are equal, 0 otherwise.