cross

infix fun cross(other: Vec2<T>): Vec3<T>

Calculates cross product of this vector and the other vector.

Cross product of two 2D vectors is always a 3D vector in the direction of Z axis.

Since

v2.0.0