mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-10 02:53:51 +00:00
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 in00754941and the anvil added incd4bdfec, 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:
parent
cd4bdfec44
commit
8e73b715e5
2 changed files with 1201 additions and 1156 deletions
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue