Skip to main content

Module cube

Module cube 

Source
Expand description

An axis-aligned box, built by extrude-ing its bottom face straight up — no vertex/edge is ever duplicated then welded, since extrude shares every side wall’s edges with its top/bottom caps by construction (see its own module docs).

Functions§

cube_solid
A box solid spanning [min, max], built as extrude’s start cap (the unit square in (u, v), at z = max.z) swept down to min.z.