stb_truetype: Fix stbtt__solve_cubic comment
This commit is contained in:
parent
a5d989c358
commit
ba5cc43d33
@ -4486,7 +4486,7 @@ static float stbtt__cuberoot( float x )
|
|||||||
return (float) STBTT_pow( x,1.0f/3.0f);
|
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)
|
static int stbtt__solve_cubic(float a, float b, float c, float* r)
|
||||||
{
|
{
|
||||||
float s = -a / 3;
|
float s = -a / 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user