xs_vec_distance_2d

Синтаксис

stock Float:xs_vec_distance_2d(const Float:vec1[], const Float:vec2[])

Употреба

vec1
First vector.
vec2
Second vector.

Описание

Computes the distance between two 2D vectors (points).

Връщаща стойност

The distance between two vectors.