From ba5cc43d33fd06875c254d46a301ec188aa441a7 Mon Sep 17 00:00:00 2001 From: Fabian Giesen Date: Tue, 6 Jul 2021 20:10:22 -0700 Subject: [PATCH] stb_truetype: Fix stbtt__solve_cubic comment --- stb_truetype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;