Graphmath.Vec3.add

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

Specs

add(vec3(), vec3()) :: vec3()

add( a, b) adds two vec3s.

a is the first vec3.

b is the second vec3.

It returns a vec3 of the form { a<sub>x</sub> + b<sub>x</sub>, a<sub>y</sub> + b<sub>y</sub>, a<sub>z</sub> + b<sub>z</sub> }.