Values

Add

Adds two vectors.

Sub

Subtracts a vector from a vector.

Mul

Multiplies two vectors.

Div

Divides vector by vector.

Mod

Returns the remainder of the two vectors.

Pow

Returns the value of the first parameter raised to the power of the second, for each component of the vectors.

Max

Returns the greater of two values, for each component of the vectors.

Min

Returns the lesser of two values, for each component of the vectors.

Cross

Calculates the cross product of two vectors.

Atan2

Returns the arc-tangent of the parameters.

Reflect

Returns the vector that points in the direction of reflection. a is incident vector and b is the normal vector.

Step

Vector step operator. Returns 0.0 if a is smaller than b and 1.0 otherwise.