mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-11 03:23:51 +00:00
After the addBox extraction, 21 procedural mesh primitives each still open-coded the same 5-line addV vertex-emit lambda. Add inline addVertex(WoweeModel&, vec3, vec3, vec2) to cli_box_emitter.hpp (header so the per-vertex hot loop stays inlineable), plus a per-float overload for the four handlers (--gen-mesh-stairs, --gen-mesh-tube, --gen-mesh-capsule, --gen-mesh-arch) that compute pos/normal/uv components inline rather than building intermediate glm vectors. Each lambda site collapses from a 5-line body to a 3-line forwarding wrapper. Output bytes verified identical via --info-mesh-stats: firepit surface area 2.1100 m² unchanged across all variants tested (stairs/tube/capsule/arch/ firepit/mushroom). Sets up the pattern so the next "shared mesh helper" is one line of include, not another paste-in. |
||
|---|---|---|
| .. | ||
| asset_extract | ||
| auth_login_probe | ||
| auth_probe | ||
| blp_convert | ||
| dbc_to_csv | ||
| editor | ||
| asset_pipeline_gui.py | ||
| backup_assets.sh | ||
| diff_classic_turtle_opcodes.py | ||
| gen_opcode_registry.py | ||
| generate_ffx_sdk_vk_permutations.sh | ||
| m2_viewer.py | ||
| opcode_map_utils.py | ||
| validate_opcode_maps.py | ||