Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict the blend weight values to the range [0, 1] #2025

Open
pavly-gerges opened this issue May 28, 2023 · 0 comments
Open

Restrict the blend weight values to the range [0, 1] #2025

pavly-gerges opened this issue May 28, 2023 · 0 comments

Comments

@pavly-gerges
Copy link
Contributor

According to the discussion on PR #2022, @Ali-RS suggests it would be better to restrict the input to the range 0 to 1 only by throwing an IllegalArgumentException with a message denoting an out-of-range number to avoid extrapolation and unexpected behaviors of negative numbers, the same as BlendableAction#setMaxTransitionWeight(double).

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

No branches or pull requests

1 participant