wireThickness top-level constant
double
const wireThickness
How thick a wire is, as a fraction of the mesh's own bounding diagonal.
Relative rather than absolute because the same number has to read on a
two-metre character and a two-centimetre bolt, and neither knows about the
other. Measured by eye against case4.glb's robot at 512 × 512: a
thousandth of the diagonal is about one pixel there, and this is three of
them — thin enough to leave the surface visible between wires, thick
enough to survive the rasteriser at a quarter that size.
Implementation
const double wireThickness = 0.003;