Skip to content

aninest root / Vec2 / copy

copy()

ts
function copy(v): Vec2

Duplicates the vector.

Parameters

v: Vec2

Returns

Vec2

The duplicated vector.

Defined in

Utils/vec2.ts:190