cross

infix fun cross(right: Vector2): Double(source)

Calculates a cross product between this Vector2 and right.

Technically you cannot find the cross product of two 2D vectors but it is still possible with clever use of mathematics.