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

✨[FEATURE] - clamp() should have the option for 1 parameter #169

Open
ssejrog opened this issue Sep 3, 2024 · 0 comments
Open

✨[FEATURE] - clamp() should have the option for 1 parameter #169

ssejrog opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ssejrog
Copy link
Member

ssejrog commented Sep 3, 2024

to use clamp you need to give it an input, a max, and a min. If only a max is given, clamp should assume that the min is negative max. so clamp(input, 127); is the same as clamp(input, 127, -127);

@ssejrog ssejrog added the enhancement New feature or request label Sep 3, 2024
@ssejrog ssejrog self-assigned this Sep 3, 2024
ssejrog added a commit that referenced this issue Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant