Minor tweaks and comments

This commit is contained in:
raysan5
2021-07-09 17:36:20 +02:00
parent 2156cd4a84
commit 5ed814e950
6 changed files with 34 additions and 33 deletions

View File

@@ -1721,7 +1721,7 @@ Rectangle GetCollisionRec(Rectangle rec1, Rectangle rec2)
//----------------------------------------------------------------------------------
// Cubic easing in-out
// NOTE: Required for DrawLineBezier()
// NOTE: Used by DrawLineBezier() only
static float EaseCubicInOut(float t, float b, float c, float d)
{
if ((t /= 0.5f*d) < 1) return 0.5f*c*t*t*t + b;