diff options
| author | Ahmad Fatoum <[email protected]> | 2018-02-24 15:38:54 +0100 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2018-02-24 15:40:08 +0100 |
| commit | a5881fb9ccaf60ea0ff4f6afd7f3925e24330cac (patch) | |
| tree | 921de9f9e5e2d376069ff39c53a18d53918de1d3 /src/raylib.h | |
| parent | c9043b5a872015bab4dc1b0606504341e9ce5b2b (diff) | |
| download | raylib-a5881fb9ccaf60ea0ff4f6afd7f3925e24330cac.tar.gz raylib-a5881fb9ccaf60ea0ff4f6afd7f3925e24330cac.zip | |
Revert "raymath.h: Use C99 inline semantics"
This reverts commit 6ffc8cb7990fb4ff40f205cb53bec797b10e48a2.
and commit e4d7bbec1ef08279495ac41f5f8c4be359c58cf0.
which I pushed by mistake...
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 66598b27..41755dc3 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -742,6 +742,13 @@ RLAPI Vector3 ColorToHSV(Color color); // Returns HSV 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 +// Math useful functions (available from raymath.h) +RLAPI float *Vector3ToFloat(Vector3 vec); // Returns Vector3 as float array +RLAPI float *MatrixToFloat(Matrix mat); // Returns Matrix as float array +RLAPI Vector3 Vector3Zero(void); // Vector with components value 0.0f +RLAPI Vector3 Vector3One(void); // Vector with components value 1.0f +RLAPI Matrix MatrixIdentity(void); // Returns identity matrix + // Misc. functions RLAPI void ShowLogo(void); // Activate raylib logo at startup (can be done with flags) RLAPI void SetConfigFlags(unsigned char flags); // Setup window configuration flags (view FLAGS) |
