# Vector functions

vector vect( float X, float Y, float Z )

Creates a new vector with the given components.

float VSize( vector A )

Returns the euclidean size of the vector (the square root of the sum of the components squared).

vector Normal( vector A )

Returns a vector of size 1.0, facing in the direction of the specified vector.

Invert( out vector X, out vector Y, out vector Z )

Inverts a coordinate system specified by three axis vectors.

vector VRand()

Returns a uniformly distributed random vector.

vector MirrorVectorByNormal( vector Vect, vector Normal )

Mirrors a vector about a specified normal vector.