Skip to content

Rect beta ​

Interface of @v12-engine/engine

ts
export interface Rect

Axis aligned rectangle on the ground plane, described by its center and half sizes.

Members ​

hd ​

ts
hd: number;

Half the rectangle's size along z

hw ​

ts
hw: number;

Half the rectangle's size along x

x ​

ts
x: number;

The rectangle's centre on the x axis

z ​

ts
z: number;

The rectangle's centre on the z axis