From 6fc2d509396627149c95c135a563d68493cb98c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 20 Apr 2013 20:00:11 -0700 Subject: [PATCH] Remove cbrt() since we don't use it anymore. --- src/util/Numerical.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/util/Numerical.js b/src/util/Numerical.js index 2150c758..c4269dbb 100644 --- a/src/util/Numerical.js +++ b/src/util/Numerical.js @@ -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