diff options
| author | moosey <[email protected]> | 2022-08-15 02:15:43 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-15 09:15:43 +0200 |
| commit | f049f9dd3a089c128ba18ec32e47e9f4458aa4da (patch) | |
| tree | 82e0446654537763b4d2517a42c88f6e24cde423 /examples | |
| parent | 67f8424eb069b89e141e437a7086e9b898192293 (diff) | |
| download | raylib-f049f9dd3a089c128ba18ec32e47e9f4458aa4da.tar.gz raylib-f049f9dd3a089c128ba18ec32e47e9f4458aa4da.zip | |
Tiny documentation fix in reasings.h (#2640)
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/others/reasings.h | 2 | ||||
| -rw-r--r-- | examples/shapes/reasings.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/others/reasings.h b/examples/others/reasings.h index 4f32dee1..8b14ba6a 100644 --- a/examples/others/reasings.h +++ b/examples/others/reasings.h @@ -109,7 +109,7 @@ EASEDEF float EaseLinearInOut(float t, float b, float c, float d) { return (c*t/ // Sine Easing functions EASEDEF float EaseSineIn(float t, float b, float c, float d) { return (-c*cosf(t/d*(PI/2.0f)) + c + b); } // Ease: Sine In EASEDEF float EaseSineOut(float t, float b, float c, float d) { return (c*sinf(t/d*(PI/2.0f)) + b); } // Ease: Sine Out -EASEDEF float EaseSineInOut(float t, float b, float c, float d) { return (-c/2.0f*(cosf(PI*t/d) - 1.0f) + b); } // Ease: Sine Out +EASEDEF float EaseSineInOut(float t, float b, float c, float d) { return (-c/2.0f*(cosf(PI*t/d) - 1.0f) + b); } // Ease: Sine In Out // Circular Easing functions EASEDEF float EaseCircIn(float t, float b, float c, float d) { t /= d; return (-c*(sqrtf(1.0f - t*t) - 1.0f) + b); } // Ease: Circular In diff --git a/examples/shapes/reasings.h b/examples/shapes/reasings.h index 4f32dee1..8b14ba6a 100644 --- a/examples/shapes/reasings.h +++ b/examples/shapes/reasings.h @@ -109,7 +109,7 @@ EASEDEF float EaseLinearInOut(float t, float b, float c, float d) { return (c*t/ // Sine Easing functions EASEDEF float EaseSineIn(float t, float b, float c, float d) { return (-c*cosf(t/d*(PI/2.0f)) + c + b); } // Ease: Sine In EASEDEF float EaseSineOut(float t, float b, float c, float d) { return (c*sinf(t/d*(PI/2.0f)) + b); } // Ease: Sine Out -EASEDEF float EaseSineInOut(float t, float b, float c, float d) { return (-c/2.0f*(cosf(PI*t/d) - 1.0f) + b); } // Ease: Sine Out +EASEDEF float EaseSineInOut(float t, float b, float c, float d) { return (-c/2.0f*(cosf(PI*t/d) - 1.0f) + b); } // Ease: Sine In Out // Circular Easing functions EASEDEF float EaseCircIn(float t, float b, float c, float d) { t /= d; return (-c*(sqrtf(1.0f - t*t) - 1.0f) + b); } // Ease: Circular In |
