Skip to content

Function: vectorCross() ​

ts
function vectorCross(first: Readonly<Vector>, second: Readonly<Vector>): vector;

Calculate the cross product of two vectors.

Parameters ​

ParameterTypeDescription
firstReadonly<Vector>Left operand.
secondReadonly<Vector>Right operand.

Returns ​

vector

New vector containing first x second.