mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Export correct color values.
This commit is contained in:
parent
29cd04121d
commit
9353b049aa
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@ var HSVToRGB = function (h, s, v)
|
|||
var q = Math.floor((v * (1 - f * s)) * 255);
|
||||
var t = Math.floor((v * (1 - (1 - f) * s)) * 255);
|
||||
|
||||
var output = { r: v, g: v, b: v, color: 0 };
|
||||
|
||||
v = Math.floor(v *= 255);
|
||||
|
||||
var output = { r: v, g: v, b: v, color: 0 };
|
||||
|
||||
var r = i % 6;
|
||||
|
||||
if (r === 0)
|
||||
|
|
Loading…
Reference in a new issue