Skip to content

Documentation / Vec2 / ZERO_VEC2

ZERO_VEC2 ​

ts
const ZERO_VEC2: object;

Defined in: Utils/vec2.ts:41

A 2D vector with x and y set to 0.

Type declaration ​

x ​

ts
x: 0;

y ​

ts
y: 0;