mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +00:00
spelling: formula
This commit is contained in:
parent
d9acb432c6
commit
3abbb13de5
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
/**
|
||||
* Converts an RGB color value to HSV (hue, saturation and value).
|
||||
* Conversion forumla from http://en.wikipedia.org/wiki/HSL_color_space.
|
||||
* Conversion formula from http://en.wikipedia.org/wiki/HSL_color_space.
|
||||
* Assumes RGB values are contained in the set [0, 255] and returns h, s and v in the set [0, 1].
|
||||
* Based on code by Michael Jackson (https://github.com/mjijackson)
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue