subdividedCube function

EditMesh subdividedCube()

A cube, twice Catmull-Clark subdivided.

mesh-45's own acceptance is one level's vertex and face count; two levels is what a person actually turns on to round a box off, and is dense enough that a missing crease or an inverted quad reads as a visible dent rather than a number one level off.

Implementation

EditMesh subdividedCube() => catmullClark(EditMesh.cuboid(), levels: 2);