Skip to content
Myr

pre-C99; decrease epsilon

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by yakov · committed by yakov · parent d84b174 · Browse files · 1 file+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:stb_truetype.h+2 added-3 removed
4545 unmodified lines
45464547 // invert for y-downwards bitmaps4548 scale_y = -scale_y;45494550 // distance from singular values (in the same units as the pixel grid)4551 const float eps = 1./128, eps2 = eps*eps;45524550 {4551 // distance from singular values (in the same units as the pixel grid)4552 const float eps = 1./1024, eps2 = eps*eps;4553 int x,y,i,j;4554 float *precompute;4555 stbtt_vertex *verts;4556 int num_verts = stbtt_GetGlyphShape(info, glyph, &verts);
457 unmodified lines