diff options
| author | Ray <[email protected]> | 2021-04-26 00:36:46 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-04-26 00:36:46 +0200 |
| commit | cf6551d70d4a019c32a0dc27db9aee0593a818b1 (patch) | |
| tree | febba35f1cdcfb06085f2029d353039d36f254dc /cheatsheet | |
| parent | 1894afa066f7addf569bb04292973e8bf866c6c2 (diff) | |
| parent | f574724139c1e5fdf1798703bc379a8c9a04e28d (diff) | |
| download | raylib.com-cf6551d70d4a019c32a0dc27db9aee0593a818b1.tar.gz raylib.com-cf6551d70d4a019c32a0dc27db9aee0593a818b1.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib.com
Diffstat (limited to 'cheatsheet')
| -rw-r--r-- | cheatsheet/raylib_textures.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cheatsheet/raylib_textures.c b/cheatsheet/raylib_textures.c index edb1eb8..98c4c6a 100644 --- a/cheatsheet/raylib_textures.c +++ b/cheatsheet/raylib_textures.c @@ -103,8 +103,8 @@ int ColorToInt(Color color); // Returns hexadecimal value for a Color Vector4 ColorNormalize(Color color); // Returns Color normalized as float [0..1] Color ColorFromNormalized(Vector4 normalized); // Returns Color from normalized values [0..1] - Vector3 ColorToHSV(Color color); // Returns HSV values for a Color - Color ColorFromHSV(float hue, float saturation, float value); // Returns a Color from HSV values + Vector3 ColorToHSV(Color color); // Returns HSV values for a Color, hue [0..360], saturation/value [0..1] + Color ColorFromHSV(float hue, float saturation, float value); // Returns a Color from HSV values, hue [0..360], saturation/value [0..1] Color ColorAlpha(Color color, float alpha); // Returns color with alpha applied, alpha goes from 0.0f to 1.0f Color ColorAlphaBlend(Color dst, Color src, Color tint); // Returns src alpha-blended into dst color with tint Color GetColor(int hexValue); // Get Color structure from hexadecimal value |
