Change glyph cache position tolerance to match changes in master

This commit is contained in:
Imbris
2020-10-31 05:00:14 -04:00
parent 469b048de9
commit eda7b380dd

View File

@ -10,8 +10,10 @@ use vek::*;
// Multiplied by current window size // Multiplied by current window size
const GLYPH_CACHE_SIZE: u16 = 1; const GLYPH_CACHE_SIZE: u16 = 1;
// Glyph cache tolerances // Glyph cache tolerances
const SCALE_TOLERANCE: f32 = 0.5; // Note: Changed from 0.1 change back if not decent // TODO: consider scaling based on dpi as well as providing as an option to the
const POSITION_TOLERANCE: f32 = 0.1; // user
const SCALE_TOLERANCE: f32 = 0.5;
const POSITION_TOLERANCE: f32 = 0.5;
type GlyphBrush = glyph_brush::GlyphBrush<(Aabr<f32>, Aabr<f32>), ()>; type GlyphBrush = glyph_brush::GlyphBrush<(Aabr<f32>, Aabr<f32>), ()>;