diff options
| author | Ray <[email protected]> | 2022-08-02 17:25:24 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-08-02 17:25:24 +0200 |
| commit | 2a2c9e4da864efb087e4a0aec67dc5ec78d35559 (patch) | |
| tree | 31e10618337d64c77eb7911bcd336efe8a1d41c2 /src/easings.h | |
| parent | 6ecb29f33f39d709d73f3de633b095afdbf745cc (diff) | |
| download | raylib-2a2c9e4da864efb087e4a0aec67dc5ec78d35559.tar.gz raylib-2a2c9e4da864efb087e4a0aec67dc5ec78d35559.zip | |
minor tweaks
Diffstat (limited to 'src/easings.h')
| -rw-r--r-- | src/easings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/easings.h b/src/easings.h index fb723d83..ae04fa2f 100644 --- a/src/easings.h +++ b/src/easings.h @@ -96,7 +96,7 @@ #define PI 3.14159265358979323846f //Required as PI is not always defined in math.h #endif -#ifdef __cplusplus +#if defined(__cplusplus) extern "C" { // Prevents name mangling of functions #endif @@ -256,7 +256,7 @@ EASEDEF float EaseElasticInOut(float t, float b, float c, float d) // Ease: Elas return (postFix*sinf((t*d-s)*(2.0f*PI)/p)*0.5f + c + b); } -#ifdef __cplusplus +#if defined(__cplusplus) } #endif |
