Graphmath.Vec2.project

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

Specs

project(vec2(), vec2()) :: vec2()

project(a,b) projects one vec2 onto another vec2.

a is the first vec2.

b is the second vec2.

This returns a vec2 representing the image of a in the direction of b.