Skip to content

vec2Project

vec2Project(v, onto): Vec2

Defined in: math-linear/src/vec2.ts:242

Projects vector a onto vector b. The result is a vector that lies on the line defined by b and has the same direction as b.

Vec2

Vec2

Vec2