Graphmath.Vec3.dot

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

Specs

dot(vec3(), vec3()) :: float()

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

a is the first vec3.

b is the second vec3.

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