Convert CDT.Core to deterministic integer arithmetic for Unity compatibility#17
Closed
PeterOlsted wants to merge 1 commit intoMichaCo:mainfrom
Closed
Conversation
…ibility Replaces all floating-point predicates and generic types with exact integer arithmetic. Adds Int128 polyfill (net5.0/Unity), rewrites Int256 to avoid UInt128 via 32-bit schoolbook multiplication, adds PredicatesInt (Orient2d, InCircle, IntersectionPosition) with Int256 intermediates, concrete integer KdTree, V2i/Box2i types, and removes PredicatesAdaptive/PredicatesExact. Triangulation<T> becomes non-generic Triangulation operating on V2i. Targets net5.0;net6.0;net8.0;net10.0 for Unity package compatibility. Updates Benchmarks and Viz to the new API. Fixes CI to install .NET 6 and use a directory-based Coverlet output with glob pattern for ReportGenerator to handle multi-TFM coverage files correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0128833 to
471fb9b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opened against wrong repo by mistake