Port to C# [link in description] #153
MWstudios
started this conversation in
Show and tell
Replies: 3 comments
-
Hi, and thanks for the heads up @MWstudios. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay then. I've also ported the Ruppert refinement branch, haven't actually tested it though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The crashing problem seems to have disappeared after I found an oversight in my code (sorting edge vertices in constructor). The source of the issue wasn't obvious until after recently updating the port to the newest version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I finished the port to C#. Let me know in issues if there is a bug or a typo on my side:
https://github.com/MWstudios/C-Sharp-DT
I still have slight doubts about if some things were ported correctly. IIRC
std::unordered::map::operator[]
creates a new key if it doesn't exist, so I replicated the behavior withDictionary<T>()
.detail::selection_sort()
is replaceable withList.Sort()
(though that does a quick/heap sort) andpredicates::Epsilon<T>()
should be equal to 2^-52 (again, my assumption).It also occasionally crashes/asserts on thin triangles when
minDistToConstraintEdge
is set to low values (below 10), though I'm unsure if it's a bug on my part.Beta Was this translation helpful? Give feedback.
All reactions