Skip to content

Vec2 ​

Interface of @v12-engine/engine

ts
export interface Vec2

A point on the ground plane. The simulation is 2D; height always comes from the terrain.

Members ​

x ​

ts
x: number;

The point's place on the ground plane's x axis

z ​

ts
z: number;

The point's place on the ground plane's z axis