Skip to content

Conversation

@kring
Copy link
Member

@kring kring commented Dec 12, 2025

Fixes #12879

Lots of background details here:
#12879 (comment)

Draft because this is only going to work on WebGL2. It's mostly a proof-of-concept.

@github-actions
Copy link

Thank you for the pull request, @kring!

✅ We can confirm we have a CLA on file for you.

@mzschwartz5 mzschwartz5 self-requested a review December 19, 2025 16:07
@mzschwartz5 mzschwartz5 self-assigned this Dec 19, 2025
Copy link
Contributor

@mzschwartz5 mzschwartz5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Kevin,

Thanks for the detailed investigation - it was a good read. Two thoughts:

  1. I don't know how mix is implemented under the hood, but I wonder if it would help the precision issues to do it manually as a*(1-t) + b*t (if, internally, it's implemented as a + t*(b - a), and a and b are large, I could see that causing precision issues).
  2. If that doesn't help, can we at least leave an in-code comment explaining why it's necessary to branch at all here?

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.

PolylineEntity - Path Jitters on windows and intel arc

3 participants