浏览代码

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

Mr.doob 10 年之前
父节点
当前提交
7956297be9
共有 1 个文件被更改,包括 0 次插入8 次删除
  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