Skip to content

Documentation / Vec2 / newVec2

newVec2() ​

ts
function newVec2(x, y): Vec2;

Defined in: Utils/vec2.ts:71

Vec2 Constructor

Parameters ​

x ​

number

y ​

number

Returns ​

Vec2