-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Polygonidl #720
Polygonidl #720
Conversation
…p 3x. We need to take a closer look.
Conflicts: CHANGES.md Source/Core/IntersectionTests.js Source/Core/PolylinePipeline.js Specs/Core/IntersectionTestsSpec.js
Conflicts: Source/Core/EllipsoidTangentPlane.js Source/Core/Plane.js Specs/Core/PlaneSpec.js
// Append two new points, the intersection points of the | ||
// triangle edges and the plane. | ||
|
||
// TODO: raise to surface in plane |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this comment. Since we subdivide and raise to the surface afterward, we don't have to do anything here.
relocated function to offset triangles from the IDL to be a private function in PolygonPipeline.js added tests for wrapLongitude updated CHANGES.md
@pjcozzi I think I've fixed everything you mentioned above, except for optimizing the split triangle function (i'm still thinking on that) and adding an example to |
It looks like you need to merge master down into this branch and merge some conflicts. |
Conflicts: CHANGES.md
@@ -45,7 +45,9 @@ Beta Releases | |||
* Improved rendering performance by minimizing WebGL state calls. | |||
* Fixed an error in Web Worker creation when loading Cesium.js from a different origin. | |||
* Fixed `EllipsoidPrimitive` picking and picking objects with materials that have transparent parts. | |||
* Fixed imagery smearing artifacts on mobile devices and other devices without high-precision fragment shaders. | |||
* Fixed imagery smearing artifacts on mobile devices and other devices without high-precision fragment shaders.* Added `IntersectionTests.trianglePlaneIntersection`. | |||
* Added `IntersectionTests.trianglePlaneIntersection`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, we should move these to a new section for b17 since b16 is already done.
other minor changes
check if bounding sphere of polygon is in x < 0 undo changes accidentally checked in to Polygons.html
Code looks good. Tests pass. Coverage is good. Merging. |
Subdivides triangles that intersect with the international date line into three triangles that don't intersect. Moves points on the IDL away by 1e-11.