diff options
| author | Ahmad Fatoum <ahmad@a3f.at> | 2018-02-24 15:38:54 +0100 |
|---|---|---|
| committer | Ahmad Fatoum <ahmad@a3f.at> | 2018-02-24 15:40:08 +0100 |
| commit | a5881fb9ccaf60ea0ff4f6afd7f3925e24330cac (patch) | |
| tree | 921de9f9e5e2d376069ff39c53a18d53918de1d3 /src/core.c | |
| 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/core.c')
| -rw-r--r-- | src/core.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -98,12 +98,13 @@ #define _POSIX_C_SOURCE 199309L // Required for CLOCK_MONOTONIC if compiled with c99 without gnu ext. #endif -#define RAYMATH_IMPLEMENTATION // Define external out-of-line implementation of raymath here -#include "raymath.h" // Required for: Vector3 and Matrix functions - #include "rlgl.h" // raylib OpenGL abstraction layer to OpenGL 1.1, 3.3+ or ES2 #include "utils.h" // Required for: fopen() Android mapping +#define RAYMATH_IMPLEMENTATION // Use raymath as a header-only library (includes implementation) +#define RAYMATH_EXTERN_INLINE // Compile raymath functions as static inline (remember, it's a compiler hint) +#include "raymath.h" // Required for: Vector3 and Matrix functions + #if defined(SUPPORT_GESTURES_SYSTEM) #define GESTURES_IMPLEMENTATION #include "gestures.h" // Gestures detection functionality |
