Skip to content

aninest root / Vec2 / divVec

divVec()

ts
function divVec(v1, v2): Vec2

Performs component-wise division of v1 / v2 immutably.

Parameters

v1: Vec2

v2: Vec2

Returns

Vec2

A new vector.

Defined in

Utils/vec2.ts:103