From dff10284666ad30823fa88ec57d0ae8eac7e7fad Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sun, 29 Apr 2018 18:39:46 +0200 Subject: Replaced ColorToFloat() by ColorNormalize() --- src/raylib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/raylib.h') 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 -- cgit v1.2.3