Skip to content

aninest root / Vec2 / mulVec

mulVec()

ts
function mulVec(v1, v2): Vec2

Does component-wise multiplication of two vectors immutably.

Parameters

v1: Vec2

v2: Vec2

Returns

Vec2

A new vector.

Defined in

Utils/vec2.ts:87