summaryrefslogtreecommitdiffhomepage
path: root/src/easings.h
diff options
context:
space:
mode:
authorRay <[email protected]>2017-03-26 23:06:17 +0200
committerGitHub <[email protected]>2017-03-26 23:06:17 +0200
commit5338bbf70d3e2c71fcbd0db54e14b6cf2d5616c3 (patch)
treec3a808940096983ca9753ad0d546d1567be2120b /src/easings.h
parent2c0604aa29c720de03797ed102dfa3fe7f05f9b5 (diff)
parent90b36bd274d523eb54700f71069558b15731adb0 (diff)
downloadraylib-5338bbf70d3e2c71fcbd0db54e14b6cf2d5616c3.tar.gz
raylib-5338bbf70d3e2c71fcbd0db54e14b6cf2d5616c3.zip
Merge pull request #250 from raysan5/develop
Integrate develop branch
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