mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-07 17:43:51 +00:00
Adds a cone with apex at +Y, base at Y=0. radius=size/2, height=size, 24 side segments → 76 verts / 72 tris. Side normals are computed from the slope (cos/sin of segment angle × H/sqrt(H²+r²) for XZ, r/sqrt(H²+r²) for Y) so shading shows the slant correctly. Apex vertex is duplicated per segment so each triangle carries the segment-specific normal — the cone shades as a smooth curved surface rather than a faceted prism. Bottom cap is a separate fan with flat -Y normal. Base at Y=0 (rather than centered) makes it natural to drop on a surface without manual offset — matches typical "standing on the floor" placement. Useful for spikes, party hats, traffic cones, magic-circle pillars. Help text on both --gen-mesh and --gen-mesh-textured updated to advertise the new shape. Verified: cone 2.0 → 76 verts / 72 tris / bounds (-1,0,-1) to (1,2,1). The 6-shape primitive set is now cube/plane/sphere/cylinder/ torus/cone. |
||
|---|---|---|
| .. | ||
| 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 | ||