stock

xs_vec_len_2d

Syntax

stock Float:xs_vec_len_2d(const Float:vec[])

Description

Computes the length of a 2D vector.

Parameters

vec The vector to compute the length of.

Return

The length of the input vector.