Skip to content

five-on-it / packages/world/src/testing / boxesMesh

Function: boxesMesh() ​

boxesMesh(boxes): MeshDef

Defined in: packages/world/src/testing.ts:114

A mesh of boxes, each in its colour (a group a box, in the order given), their faces counter-clockwise seen from outside: a wall with a window proud of it, a lamp with its head.

Parameters ​

boxes ​

readonly ColouredBox[]

Returns ​

MeshDef