Skip to content

Commit 7956297

Browse files
committed
Math: Removed clampBottom.
This is just doing Math.max( a, x )...
1 parent 70bd430 commit 7956297

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/math/Math.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ THREE.Math = {
4848

4949
},
5050

51-
// Clamp value to range <a, inf)
52-
53-
clampBottom: function ( x, a ) {
54-
55-
return x < a ? a : x;
56-
57-
},
58-
5951
// compute euclidian modulo of m % n
6052
// https://en.wikipedia.org/wiki/Modulo_operation
6153

0 commit comments

Comments
 (0)