diff --git a/stb_truetype.h b/stb_truetype.h index 8a704b6..a58fc62 100644 --- a/stb_truetype.h +++ b/stb_truetype.h @@ -4486,7 +4486,7 @@ static float stbtt__cuberoot( float x ) return (float) STBTT_pow( x,1.0f/3.0f); } -// x^3 + c*x^2 + b*x + a = 0 +// x^3 + a*x^2 + b*x + c = 0 static int stbtt__solve_cubic(float a, float b, float c, float* r) { float s = -a / 3;