mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
Remove cbrt() since we don't use it anymore.
This commit is contained in:
parent
c45ad26b67
commit
6fc2d50939
1 changed files with 0 additions and 5 deletions
|
@ -58,11 +58,6 @@ var Numerical = this.Numerical = new function() {
|
|||
cos = Math.cos,
|
||||
PI = Math.PI;
|
||||
|
||||
// Define the missing Math.cbrt()
|
||||
function cbrt(x) {
|
||||
return x > 0 ? pow(x, 1 / 3) : x < 0 ? -pow(-x, 1 / 3) : 0;
|
||||
}
|
||||
|
||||
return {
|
||||
TOLERANCE: 10e-6,
|
||||
// Precision when comparing against 0
|
||||
|
|
Loading…
Reference in a new issue