diff options
| author | Ray <[email protected]> | 2018-02-14 22:44:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-02-14 22:44:09 +0100 |
| commit | ffde83d85f24e10d820ee1557a5c4fde4e62d1d8 (patch) | |
| tree | 8ec3f76a6e9c45fcbafa4c68429946162bcd91fa /src/raylib.h | |
| parent | dd8f0765b833bff2fbcc523e2d0a20d4fd28b5f3 (diff) | |
| parent | 36750ffb9a71836d06cc2a951dfdf0e9ed87a61c (diff) | |
| download | raylib-ffde83d85f24e10d820ee1557a5c4fde4e62d1d8.tar.gz raylib-ffde83d85f24e10d820ee1557a5c4fde4e62d1d8.zip | |
Merge pull request #467 from raysan5/develop
Integrate develop branch
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index e3f30e43..fba973d0 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -728,10 +728,11 @@ RLAPI float GetFrameTime(void); // Returns tim RLAPI double GetTime(void); // Returns elapsed time in seconds since InitWindow() // Color-related functions -RLAPI int GetHexValue(Color color); // Returns hexadecimal value for a Color +RLAPI float *ColorToFloat(Color color); // Returns normalized float array for a Color +RLAPI int ColorToInt(Color color); // Returns hexadecimal value for a Color +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 -RLAPI float *ColorToFloat(Color color); // Converts Color to float array and normalizes // Math useful functions (available from raymath.h) RLAPI float *Vector3ToFloat(Vector3 vec); // Returns Vector3 as float array |
