8000 unified ManifoldParams and PolygonParams by pca006132 · Pull Request #1167 · elalish/manifold · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

unified ManifoldParams and PolygonParams #1167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 27, 2025
Merged

unified ManifoldParams and PolygonParams #1167

merged 3 commits into from
Feb 27, 2025

Conversation

pca006132
Copy link
Collaborator

The old way of specifying parameters for manifold and polygon separately is quite confusing. This merges them, and removed PolygonParams all together.

This is a small breaking that hopefully no one is using, except our own testing code. That said, the next release should still bump the minor version (3.1.0) together with other changes in decimation etc.

@pca006132 pca006132 requested a review from elalish February 25, 2025 07:13
Copy link
Owner
@elalish elalish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea why those tests are failing? I didn't notice anything functionally wrong in my read-through.

src/polygon.cpp Outdated
@@ -528,7 +527,7 @@ class EarClip {

void PrintVert() const {
#ifdef MANIFOLD_DEBUG
if (!params.verbose) return;
if (!ManifoldParams().verbose) return;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to separate the verbosity or have levels or something. The triangulator is orders of magnitude more verbose than the Boolean is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is now an int

@pca006132
Copy link
Collaborator Author

Oh, I forgot to disable that test :P

Copy link
codecov bot commented Feb 25, 2025
8000

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 91.60%. Comparing base (5399bd4) to head (d6be773).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/properties.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1167      +/-   ##
==========================================
- Coverage   91.70%   91.60%   -0.11%     
==========================================
  Files          32       32              
  Lines        5980     5989       +9     
==========================================
+ Hits         5484     5486       +2     
- Misses        496      503       +7     

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

Copy link
Owner
@elalish elalish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pca006132 pca006132 merged commit 0451671 into master Feb 27, 2025
27 checks passed
@pca006132 pca006132 deleted the unify-params branch February 27, 2025 09:53
@elalish elalish mentioned this pull request May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0