diff options
| author | raysan5 <[email protected]> | 2018-04-29 18:39:46 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2018-04-29 18:39:46 +0200 |
| commit | dff10284666ad30823fa88ec57d0ae8eac7e7fad (patch) | |
| tree | 7308bd6e481647ca12a2004cbaa282e99683080d /src/raylib.h | |
| parent | 8d81b6e4e40ea8ad01acea8bfbda38840eb7027f (diff) | |
| download | raylib-dff10284666ad30823fa88ec57d0ae8eac7e7fad.tar.gz raylib-dff10284666ad30823fa88ec57d0ae8eac7e7fad.zip | |
Replaced ColorToFloat() by ColorNormalize()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 4315afc5..b03a93f3 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -745,8 +745,8 @@ RLAPI float GetFrameTime(void); // Returns tim RLAPI double GetTime(void); // Returns elapsed time in seconds since InitWindow() // Color-related functions -RLAPI float *ColorToFloat(Color color); // Returns normalized float array for a Color RLAPI int ColorToInt(Color color); // Returns hexadecimal value for a Color +RLAPI Vector4 ColorNormalize(Color color); // Returns color normalized as float [0..1] RLAPI Vector3 ColorToHSV(Color color); // Returns HSV values for a Color RLAPI Color GetColor(int hexValue); // Returns a Color struct from hexadecimal value RLAPI Color Fade(Color color, float alpha); // Color fade-in or fade-out, alpha goes from 0.0f to 1.0f |
