stb_truetype: Fix stbtt__solve_cubic comment

master
Fabian Giesen ago%!(EXTRA string=4 years)
parent a5d989c358
commit ba5cc43d33
  1. 2
      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;

Loading…
Cancel
Save