Fixed undef var error.

This commit is contained in:
Richard Davey 2017-09-21 14:26:18 +01:00
parent aaa90bae12
commit a89c6a872a

View file

@ -7,7 +7,7 @@
* @param {float} max - The maximum bounds.
* @return {number} The clamped value.
*/
var Clamp = function (v, min, max)
var Clamp = function (value, min, max)
{
return Math.max(min, Math.min(max, value));
};