summaryrefslogtreecommitdiffhomepage
path: root/examples/others/easings.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-12-24 23:07:52 +0100
committerraysan5 <[email protected]>2020-12-24 23:07:52 +0100
commitea0f6c7a26f3a61f3be542aa8f066ce033766a9f (patch)
tree403dec84eb60bf77cd7fa89dde99b193bddfe89e /examples/others/easings.h
parentb93c4b0c2071dad67276806d00d47c8cf7b59f07 (diff)
downloadraylib-ea0f6c7a26f3a61f3be542aa8f066ce033766a9f.tar.gz
raylib-ea0f6c7a26f3a61f3be542aa8f066ce033766a9f.zip
Replace TABS by 4 spaces
Diffstat (limited to 'examples/others/easings.h')
-rw-r--r--examples/others/easings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/others/easings.h b/examples/others/easings.h
index 1b08af0a..f6c384b0 100644
--- a/examples/others/easings.h
+++ b/examples/others/easings.h
@@ -135,7 +135,7 @@ EASEDEF float EaseQuadOut(float t, float b, float c, float d) { t /= d; return (
EASEDEF float EaseQuadInOut(float t, float b, float c, float d)
{
if ((t/=d/2) < 1) return (((c/2)*(t*t)) + b);
- return (-c/2.0f*(((t - 1.0f)*(t - 3.0f)) - 1.0f) + b);
+ return (-c/2.0f*(((t - 1.0f)*(t - 3.0f)) - 1.0f) + b);
}
// Exponential Easing functions
@@ -147,7 +147,7 @@ EASEDEF float EaseExpoInOut(float t, float b, float c, float d)
if (t == d) return (b + c);
if ((t/=d/2.0f) < 1.0f) return (c/2.0f*pow(2.0f, 10.0f*(t - 1.0f)) + b);
- return (c/2.0f*(-pow(2.0f, -10.0f*(t - 1.0f)) + 2.0f) + b);
+ return (c/2.0f*(-pow(2.0f, -10.0f*(t - 1.0f)) + 2.0f) + b);
}
// Back Easing functions