refactor(editor): extract 9 more mesh handlers into cli_gen_mesh.cpp

Moves stairs, grid, disc, tube, capsule, arch, pyramid, fence,
and tree into the existing cli_gen_mesh.cpp module. Together
with the 12 composite props extracted in 00754941 and the
anvil added in cd4bdfec, the module now contains 22 of the
28 procedural mesh primitives.

Remaining mesh handlers in main.cpp: --gen-mesh dispatcher
(cube/plane/sphere/cylinder/torus/cone/ramp), --gen-mesh-from-
heightmap, --gen-mesh-textured. Those have specialized I/O or
embedded sub-dispatch and will move in a follow-up batch.

main.cpp drops 22,681 → 21,526 lines (-1,155). Behavior
verified by re-running stairs/disc/fence/tree.
This commit is contained in:
Kelsi 2026-05-08 22:58:21 -07:00
parent cd4bdfec44
commit 8e73b715e5
2 changed files with 1201 additions and 1156 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff