Skip to content

five-on-it / packages/world/src/audit/coplanar / LevelZFighting

Interface: LevelZFighting ​

Defined in: packages/world/src/audit/coplanar.ts:263

Z-fighting in a level, as levelZFighting finds it.

Properties ​

area ​

area: number

Defined in: packages/world/src/audit/coplanar.ts:267

The area the faces share, in all (m²).


colors ​

colors: [string, string]

Defined in: packages/world/src/audit/coplanar.ts:273

The two colours.


pieces ​

pieces: number[]

Defined in: packages/world/src/audit/coplanar.ts:265

The placements: one for a piece's own faces (the first placement of its mesh), two for faces of two pieces.


x ​

x: number

Defined in: packages/world/src/audit/coplanar.ts:269

Where the first of the faces lies (m).


z ​

z: number

Defined in: packages/world/src/audit/coplanar.ts:271

Where the first of the faces lies (m).