Skip to content

aninest-root / Vec2 / mulVec

mulVec()

ts
function mulVec(v1, v2): Vec2;

Defined in: Utils/vec2.ts:88

Does component-wise multiplication of two vectors immutably.

Parameters

v1

Vec2

v2

Vec2

Returns

Vec2

A new vector.