-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Update math
module to use new Num methods
#198
Comments
Agreed.
I do not think an alias is needed. I think that clamp is more descriptive where as I could imagine |
We already have |
Oh, I just thought that Wren added |
Should I take up and solve this issue? |
If you feel that you want to, I'm very happy for you to do so! I keep issues like this open specifically for new people to contribute to the project :) |
Great! I'll send a PR right away |
Wren 0.4.0 introduced more methods for the Num class, such as a built in
min
,max
andclamp
/mid
implementation. Consult the Wren 0.4.0 release notes for a full list of added methods.I think it would be good for DOME to defer to these implementations where available.
We should also add
clamp
as analias
formid
.The text was updated successfully, but these errors were encountered: