grain
grain copied to clipboard
feat(stdlib): Add `Number.tan`, `Number.factorial`, `Number.clamp`, `Number.lerp`
This pr adds Number.tan
, Number.factorial
, Number.clamp
, Number.lerp
to the Number libary for #1017
I made the changes we talked about in discord i will move Number.map
to its own pr i wasnt able to run the tests because downloading the modules on my internet is taking forever.
can someone convert this to a draft pr until #1404 is completed
I think i am going to close this as it will require an entire rewrite to use range and the scope of this pr has changed to just be map
, lerp
and clamp
. Going to add a comment to the issue though linking to this as this has some stuff related to documenting that is still useful