Skip to content

five-on-it / packages/world/src/audit/paint / PaintTriangle

Interface: PaintTriangle ​

Defined in: packages/world/src/audit/paint.ts:21

A triangle of paint in the world.

Properties ​

box ​

box: [number, number, number, number]

Defined in: packages/world/src/audit/paint.ts:25

Its bounds: lowest x, lowest z, highest x, highest z (m).


corners ​

corners: number[]

Defined in: packages/world/src/audit/paint.ts:23

Its corners on the ground, x z pairs, turning from +x towards +z (m).


owner ​

owner: number

Defined in: packages/world/src/audit/paint.ts:29

The placement it belongs to.


patch ​

patch: number

Defined in: packages/world/src/audit/paint.ts:33

The patch it belongs to (a number unique in the level).


triangle ​

triangle: number

Defined in: packages/world/src/audit/paint.ts:31

Which triangle of the placement's mesh it is.


y ​

y: number

Defined in: packages/world/src/audit/paint.ts:27

Its middle's height (m).