Skip to content

Conversation

@wawanbreton
Copy link
Contributor

Adjust the threshold for degenerate triangle when calculating barycentric coordinates.
Increasing the epsilon to 0.0001 seems to be enough in practice, so setting 0.001 to have some margin. A value of 0.1 also doesn't seem to cause any trouble, so this change should not hurt.
To be confirmed on different platforms.

CURA-12766

⚠️ Don't forget to create conan package release after merge

CURA-12766
Increasing the epsilon to 0.0001 seems to be enough in practice, so setting 0.001 to have some margin. A value of 0.1 also doesn't seem to cause any trouble, so this change should not hurt.
To be confirmed on different platforms.
@HellAholic HellAholic merged commit 2b3c6eb into main Oct 8, 2025
5 checks passed
@HellAholic HellAholic deleted the CURA-12766_fix-preview-projection branch October 8, 2025 07:01
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.

4 participants