Skip to content

feat(core): expand primitive mesh creation [生产代码 +4182/-1790] - #3182

Merged
GuoLei1990 merged 24 commits into
dev/2.0from
codex/primitive-mesh
Nov 15, 2026
Merged

GuoLei1990 merged 24 commits into
dev/2.0from
codex/primitive-mesh

refactor(core): name revolved surface creation explicitly

d145696
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 15, 2026 in 0s

88.54% (+0.14%) compared to 392fcaa

View this Pull Request on Codecov

88.54% (+0.14%) compared to 392fcaa

Details

Codecov Report

❌ Patch coverage is 87.90323% with 180 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.54%. Comparing base (392fcaa) to head (d145696).

Files with missing lines Patch % Lines
packages/core/src/mesh/primitive/PolygonUtils.ts 77.26% 168 Missing ⚠️
packages/core/src/mesh/primitive/MeshPathUtils.ts 97.35% 4 Missing ⚠️
examples/src/paricle-emit-mesh.ts 0.00% 2 Missing ⚠️
...es/core/src/mesh/primitive/PrimitiveMeshBuilder.ts 98.21% 2 Missing ⚠️
...s/core/src/mesh/primitive/PrimitiveMeshRestorer.ts 95.65% 2 Missing ⚠️
examples/src/shader-03-ui-script.ts 0.00% 1 Missing ⚠️
examples/src/shader-04-multi-pass.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           dev/2.0    #3182      +/-   ##
===========================================
+ Coverage    88.40%   88.54%   +0.14%     
===========================================
  Files          934      942       +8     
  Lines       114070   115673    +1603     
  Branches     17043    17564     +521     
===========================================
+ Hits        100842   102425    +1583     
- Misses       13103    13123      +20     
  Partials       125      125              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.