diff options
| author | Ray <raysan5@gmail.com> | 2018-03-15 12:27:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-15 12:27:40 +0100 |
| commit | 6c6d6776c0f3d359f0205e1bea45fb41be4e3c1c (patch) | |
| tree | b0deb8277eafece270246324f1494e996268bf7e /src/core.c | |
| parent | 4cae2b8829afb3286da3a5e3b514c4752a332726 (diff) | |
| parent | f52d2de582643719814987f7335668b611a4edbd (diff) | |
| download | raylib-6c6d6776c0f3d359f0205e1bea45fb41be4e3c1c.tar.gz raylib-6c6d6776c0f3d359f0205e1bea45fb41be4e3c1c.zip | |
Merge pull request #482 from a3f/master
raymath.h: Use C99 inline semantics
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -98,13 +98,12 @@ #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 |
