xs_vec_make2d

Syntax

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

Usage

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

Description

Turns a 3D vector into a 2D vector.

Note

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

Return

This function has no return value.