Explorar o código

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

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
7956297be9
Modificáronse 1 ficheiros con 0 adicións e 8 borrados
  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