Graphmath.Vec2.subtract

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

Specs

subtract(vec2(), vec2()) :: vec2()

subtract(a, b ) subtracts one vec2 from another vec2.

a is the vec2 minuend.

b is the vec2 subtrahend.

It returns a vec2 of the form { a<sub>x</sub> - b<sub>x</sub>, a<sub>y</sub> - b<sub>y</sub> }.

(the terminology was found here).