cross

@JvmStatic
fun cross(a: Vector3, b: Vector3): Vector3

Calculates the cross product (vector product) of two Vector3 vectors.

The cross product of two vectors results in a new vector that is perpendicular to both input vectors. The direction of the resulting vector follows the right - hand rule, and its magnitude is equal to the area of the parallelogram formed by the two input vectors.

Return

A new Vector3 instance representing the cross product of the two input vectors.

Parameters

a

The first Vector3 vector.

b

The second Vector3 vector.