Skip to content

five-on-it / packages/world/src/road-paint / RoadPaint

Interface: RoadPaint ​

Defined in: packages/world/src/road-paint.ts:36

The roads' paint: quads of four corners x y z (counter-clockwise from above), twelve numbers a quad, per colour.

Properties ​

white ​

white: number[]

Defined in: packages/world/src/road-paint.ts:38

The white lines' quads.


yellow ​

yellow: number[]

Defined in: packages/world/src/road-paint.ts:40

The yellow lines' quads.


yielded ​

yielded: number

Defined in: packages/world/src/road-paint.ts:42

How many steps gave way to the level's own paint.