diff options
| author | raysan5 <[email protected]> | 2016-01-20 18:20:05 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2016-01-20 18:20:05 +0100 |
| commit | efa1c96d19095c801a01dbf9b0214a82b7ae8c11 (patch) | |
| tree | 7fedcc9545ef4277ea49dd9e54e150591d458a76 /src/raylib.h | |
| parent | c8e8c0a0024a2301bbcc940233cbc4e82116242c (diff) | |
| download | raylib-efa1c96d19095c801a01dbf9b0214a82b7ae8c11.tar.gz raylib-efa1c96d19095c801a01dbf9b0214a82b7ae8c11.zip | |
Adapted raymath as single header library
Added support for single header implementation and also inline functions
support
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 16311df8..0a768fe4 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -547,8 +547,8 @@ float GetFrameTime(void); // Returns time in s Color GetColor(int hexValue); // Returns a Color struct from hexadecimal value int GetHexValue(Color color); // Returns hexadecimal value for a Color float *ColorToFloat(Color color); // Converts Color to float array and normalizes -float *VectorToFloat(Vector3 vec); // Converts Vector3 to float array (defined in raymath module) -float *MatrixToVector(Matrix mat); // Converts Matrix to float array (defined in raymath module) +float *VectorToFloat(Vector3 vec); // Converts Vector3 to float array +float *MatrixToFloat(Matrix mat); // Converts Matrix to float array int GetRandomValue(int min, int max); // Returns a random value between min and max (both included) Color Fade(Color color, float alpha); // Color fade-in or fade-out, alpha goes from 0.0f to 1.0f |
