Function VectorMath.Determinant

Determinant (float2 c1, float2 c2)

Determinant of the 2x2 matrix [c1, c2].

Public Static
float Determinant (

float2

c1

float2

c2

)

Determinant of the 2x2 matrix [c1, c2].

This is useful for many things, like calculating distances between lines and points.

Equivalent to Cross(new float3(c1, 0), new float 3(c2, 0)).z