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

fix ground polygon rectangles #7518

Merged
merged 2 commits into from
Jan 29, 2019
Merged

fix ground polygon rectangles #7518

merged 2 commits into from
Jan 29, 2019

Conversation

likangning93
Copy link
Contributor

Fixes #7507. The previous algorithm for computing rectangles in PolygonGeometry didn't take the arctype between points into account. Cesium uses these rectangles to prevent batched ground geometries from drawing on each other using a fragment discard, which was why some ground polygons were getting cut off.

@cesium-concierge
Copy link

cesium-concierge commented Jan 28, 2019

Thanks for the pull request @likangning93!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

@likangning93 likangning93 requested a review from hpinkos January 28, 2019 14:12
@hpinkos
Copy link
Contributor

hpinkos commented Jan 28, 2019

Just those comments. Thanks for getting to this so quickly @likangning93 !

@likangning93
Copy link
Contributor Author

@hpinkos this is up-to-date

@hpinkos
Copy link
Contributor

hpinkos commented Jan 29, 2019

Great work, @likangning93!

@hpinkos hpinkos merged commit 63b06f4 into master Jan 29, 2019
@hpinkos hpinkos deleted the fixPolygonRectangle branch January 29, 2019 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants