Skip to content
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

Add maximum triangle size configuration #19

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

davenquinn
Copy link

This pull request addresses #13 and creates a way to configure the maximum triangle size for a mesh, allowing a minimum vertex density to be maintained even if error is below the required threshold. By default, the maxLength threshold is set to the tile size; there will be no effect unless a lower value is set.

This change was created to allow wrapping tiles around the globe sphere at low zooms in a Cesium terrain provider (davenquinn/cesium-martini).

@davenquinn
Copy link
Author

@mourner would you be willing to merge this PR?

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.

1 participant