Luna::Simd::determinant_f3x3
f32 determinant_f3x3(float3x4 a)
Computes the determinant of the 3x3 matrix a
, and stores the result in dst
.
dst := a[0].x * (a[1].y * a[2].z - a[1].z * a[2].y) +
a[0].y * (a[1].z * a[2].x - a[1].x * a[2].z) +
a[0].z * (a[1].x * a[2].y - a[1].y * a[2].x)