Skip to content

aninest root / Vec2 / newVec2

newVec2()

ts
function newVec2(x, y): Vec2

Vec2 Constructor

Parameters

x: number

y: number

Returns

Vec2

Defined in

Utils/vec2.ts:70