summaryrefslogtreecommitdiffhomepage
path: root/src/easings.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2017-03-19 12:52:58 +0100
committerraysan5 <[email protected]>2017-03-19 12:52:58 +0100
commit8f5ff64420dda659583c156b9c5e42e60384e247 (patch)
tree2b0ee8a47d38a41cc105b6b79211b2873ca2b21c /src/easings.h
parentca8c56561792a58d9b66fef668cf9d3a0fc4e876 (diff)
downloadraylib-8f5ff64420dda659583c156b9c5e42e60384e247.tar.gz
raylib-8f5ff64420dda659583c156b9c5e42e60384e247.zip
Working on file header comments...
Diffstat (limited to 'src/easings.h')
-rw-r--r--src/easings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/easings.h b/src/easings.h
index 527970ab..9ad27313 100644
--- a/src/easings.h
+++ b/src/easings.h
@@ -122,7 +122,7 @@ EASEDEF float EaseCubicOut(float t, float b, float c, float d) { return (c*((t=t
EASEDEF float EaseCubicInOut(float t, float b, float c, float d)
{
if ((t/=d/2) < 1) return (c/2*t*t*t + b);
- return (c/2*((t-=2)*t*t + 2) + b);
+ return (c/2*((t-=2)*t*t + 2) + b);
}
// Quadratic Easing functions