Vec4.Dot

static float Dot(Vec4 a, Vec4 b)

   
Vec4 a First vector.
Vec4 b Second vector.
RETURNS: float The dot product!

What’s a dot product do for 4D vectors, you might ask? Well, I’m no mathematician, so hopefully you are! I’ve never used it before. Whatever you’re doing with this function, it’s SIMD fast!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!