stb_truetype: Fix stbtt__solve_cubic comment

This commit is contained in:
Fabian Giesen 2021-07-06 20:10:22 -07:00
parent a5d989c358
commit ba5cc43d33

View File

@ -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;