feat(editor): add --gen-mesh-bench wooden bench primitive

Three-box composite: long thin seat plank on top + 2 leg
slabs at the ends (positioned at 90% along the bench length
to leave a small overhang on each side). Legs are vertical
Y-aligned slabs spanning the full height from floor to
bottom-of-seat, ~5% of bench length thick.

Defaults: length=1.5, seatY=0.5, seatT=0.06, seatW=0.4. Useful
for taverns, plazas, roadside rest stops, council halls.
Brings the procedural mesh primitive set to 33.
This commit is contained in:
Kelsi 2026-05-09 03:43:11 -07:00
parent c519ee3e99
commit 0a5f508f4e
3 changed files with 109 additions and 1 deletions

View file

@ -200,7 +200,7 @@ int main(int argc, char* argv[]) {
"--gen-mesh-statue", "--gen-mesh-altar", "--gen-mesh-portal",
"--gen-mesh-archway", "--gen-mesh-barrel", "--gen-mesh-chest",
"--gen-mesh-anvil", "--gen-mesh-mushroom", "--gen-mesh-cart",
"--gen-mesh-banner", "--gen-mesh-grave",
"--gen-mesh-banner", "--gen-mesh-grave", "--gen-mesh-bench",
"--gen-texture-gradient",
"--gen-mesh-from-heightmap", "--export-mesh-heightmap",
"--displace-mesh",