Skip to content

vec2Reflect

vec2Reflect(v, normal): Vec2

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

Reflects a 2D vector v across a given normal vector. The normal vector should be normalized (have a length of 1) for correct results.

Vec2

Vec2

Vec2