Browse Source

Math: Removed clampBottom.
This is just doing Math.max( a, x )...

Mr.doob 9 years ago
parent
commit
7956297be9
1 changed files with 0 additions and 8 deletions
  1. 0 8
      src/math/Math.js

+ 0 - 8
src/math/Math.js

@@ -48,14 +48,6 @@ THREE.Math = {
 
 	},
 
-	// Clamp value to range <a, inf)
-
-	clampBottom: function ( x, a ) {
-
-		return x < a ? a : x;
-
-	},
-
 	// compute euclidian modulo of m % n
 	// https://en.wikipedia.org/wiki/Modulo_operation