crossProduct

Calculates the cross product of this vector with another. The cross product is defined as:

  • x = y1 * z2 - y2 * z1
  • y = z1 * x2 - z2 * x1
  • z = x1 * y2 - x2 * y1

Return

the same vector

Parameters

o

The other vector