mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
Fixed undef var error.
This commit is contained in:
parent
aaa90bae12
commit
a89c6a872a
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue