Skip to content

Conversation

@Stubbjax
Copy link

This change enables the ParabolicEase::setEaseTimes method to better handle floating point imprecision, such as cases where m_in = 0.200000003 and m_out = 0.199999988, without calling a DEBUG_CRASH.

@Stubbjax Stubbjax self-assigned this Nov 14, 2025
@Stubbjax Stubbjax added Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour Fix Is fixing something, but is not user facing labels Nov 14, 2025
@xezon xezon added the Debug Is mostly debug functionality label Nov 14, 2025
@xezon xezon changed the title fix: Parabolic ease floating point intolerance fix(parabolicease): Fix floating point intolerant assert in ParabolicEase::setEaseTimes() Nov 14, 2025
@xezon xezon changed the title fix(parabolicease): Fix floating point intolerant assert in ParabolicEase::setEaseTimes() fix(parabolicease): Fix asserting on float inprecision in ParabolicEase::setEaseTimes() Nov 14, 2025
@xezon xezon merged commit b3d7bcb into TheSuperHackers:main Nov 14, 2025
14 checks passed
@Stubbjax Stubbjax deleted the fix-parabolic-ease-floating-point-intolerance branch November 14, 2025 18:07
@Stubbjax Stubbjax changed the title fix(parabolicease): Fix asserting on float inprecision in ParabolicEase::setEaseTimes() fix(parabolicease): Fix asserting on float imprecision in ParabolicEase::setEaseTimes() Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Debug Is mostly debug functionality Fix Is fixing something, but is not user facing Minor Severity: Minor < Major < Critical < Blocker ZH Relates to Zero Hour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants