Graphmath.Vec2.dot

You're seeing just the function dot, go back to Graphmath.Vec2 module for more information.

Specs

dot(vec2(), vec2()) :: float()

dot( a, b ) finds the dot (inner) product of one vec2 with another vec2.

a is the first vec2.

b is the second vec2.

It returns a float of the value (a<sub>x</sub>b<sub>x</sub> + a<sub>y</sub>b<sub>y</sub> ).