Luna::Simd::dot2_f4
f32 dot2_f4(float4 a, float4 b)
Computes the dot product on the first two elements of a
and b
, and stores the result in dst
.
dst := (a.x * b.x) + (a.y * b.y)
f32 dot2_f4(float4 a, float4 b)
Computes the dot product on the first two elements of a
and b
, and stores the result in dst
.
dst := (a.x * b.x) + (a.y * b.y)