xs_vec_distance_2d

Syntax

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

Usage

vec1
First vector.
vec2
Second vector.

Description

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

Return

The distance between two vectors.