feat(editor): add --gen-mesh-coffin hexagonal-prism primitive

38th procedural mesh: classic 6-sided coffin with the
narrow-head / wide-shoulder / tapered-foot top-down profile
that's instantly recognizable from any angle. Built as 6 side
quads + top lid fan + bottom panel fan, all with face-shared
normals so it shades cleanly under any lighting.

Pairs with --gen-mesh-grave for graveyard set dressing.
Defaults to 2.0×0.8×0.6 (length × shoulder-width × height).
This commit is contained in:
Kelsi 2026-05-09 06:18:42 -07:00
parent f0bbc228ef
commit 2658e8297a
3 changed files with 143 additions and 1 deletions

View file

@ -125,7 +125,7 @@ int main(int argc, char* argv[]) {
"--gen-mesh-anvil", "--gen-mesh-mushroom", "--gen-mesh-cart",
"--gen-mesh-banner", "--gen-mesh-grave", "--gen-mesh-bench",
"--gen-mesh-shrine", "--gen-mesh-totem", "--gen-mesh-cage",
"--gen-mesh-throne",
"--gen-mesh-throne", "--gen-mesh-coffin",
"--gen-texture-gradient",
"--gen-mesh-from-heightmap", "--export-mesh-heightmap",
"--displace-mesh",