diff --git a/src/math/Math.js b/src/math/Math.js index ef7af15371cbf74a31dfb69845d15aabbda0ebcb..0af95b4de05cde8f151c52baa5c8e677fa557379 100644 --- a/src/math/Math.js +++ b/src/math/Math.js @@ -102,7 +102,7 @@ THREE.Math = { randInt: function ( low, high ) { - return low + Math.floor( Math.random() * ( high - low + 1 ) ); + return Math.floor( this.randFloat( low, high ) ); },