xs_vec_make2d

Синтаксис

stock xs_vec_make2d(const Float:vec[3], Float:out[2])

Употреба

vec
A 3D vector to turn into a 2D vector.
out
The output 2D vector.

Описание

Turns a 3D vector into a 2D vector.

Забележка

This function just ignores the Z (3rd) component of a 3D vector.

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

Тази функция няма връщаща стойност.