Skip to content

Vec2

Defined in: types.ts:101

A 2D vector in world units. Plain data, so it is what a component field holds and what crosses to the engine — v2 builds one, and scalar/v2 carry the operations rather than the value.

x: number

Defined in: types.ts:102


y: number

Defined in: types.ts:103