Vector.cross(v, [y], [z])
Calculates the cross product from this vector to another as x, y, and z components or full vector.
Type: function
Parameter(s):
- v {Vector | Number}:
Either a full vector or an
xcomponent. - y {Number} Optional:
The
ycomponent. - z {Number} Optional:
The
zcomponent.
Returns:
-
{Number}:
The cross product.