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

MathNode: New cbrt Function for Easy Cube Root Calculations #27497

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

RenaudRohlinger
Copy link
Collaborator

@RenaudRohlinger RenaudRohlinger commented Jan 4, 2024

Added a new function called cbrt to our math tools. This function lets you find the cube root of any number easily.

More info:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/cbrt

This contribution is funded by Utsubo

@sunag sunag added this to the r161 milestone Jan 4, 2024
@sunag sunag merged commit ca62e47 into mrdoob:dev Jan 4, 2024
11 checks passed
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
…#27497)

* add cbrt

* Move to TSL only

---------

Co-authored-by: sunag <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants