cross2

The 2D analogue to the vector cross product cross(vec3, vec3). Returns a scalar, is defined as a.x*b.y - b.x*a.y.

float cross2(vec2 a, vec2 b);